Commit aa26ae6f authored by Russell King's avatar Russell King

[ARM] Remove compiler warning in sa1111-pcipool.c

parent 7140df08
...@@ -51,7 +51,7 @@ struct pci_page { /* cacheable header for 'allocation' bytes */ ...@@ -51,7 +51,7 @@ struct pci_page { /* cacheable header for 'allocation' bytes */
static inline const char *slot_name(const struct pci_pool *pool) static inline const char *slot_name(const struct pci_pool *pool)
{ {
const struct pci_dev *pdev = pool->dev; struct pci_dev *pdev = (struct pci_dev *)pool->dev;
if (pdev == 0) if (pdev == 0)
return "[0]"; return "[0]";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment