From aa26ae6fda34d420535172763afa642f092c7649 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 16 Sep 2003 17:14:41 +0100 Subject: [PATCH] [ARM] Remove compiler warning in sa1111-pcipool.c --- arch/arm/common/sa1111-pcipool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/common/sa1111-pcipool.c b/arch/arm/common/sa1111-pcipool.c index 4362dfdd1e7b8..daf06b580f0de 100644 --- a/arch/arm/common/sa1111-pcipool.c +++ b/arch/arm/common/sa1111-pcipool.c @@ -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]"; -- 2.53.0