]> git.hungrycats.org Git - linux/commitdiff
[ARM] Remove compiler warning in sa1111-pcipool.c
authorRussell King <rmk@flint.arm.linux.org.uk>
Tue, 16 Sep 2003 16:14:41 +0000 (17:14 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Tue, 16 Sep 2003 16:14:41 +0000 (17:14 +0100)
arch/arm/common/sa1111-pcipool.c

index 4362dfdd1e7b8823bb560b8869314b33f1061b93..daf06b580f0de6654b17b7325107311eaf613c9f 100644 (file)
@@ -51,7 +51,7 @@ struct pci_page {     /* cacheable header for 'allocation' bytes */
 
 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)
                return "[0]";