diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-03-08 18:14:49 -0500 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-03-15 07:01:56 -0400 |
commit | 2af36dc423fca37be9149329dff1635e4ff72ac4 (patch) | |
tree | 03f7a18420b6d72fc5783360449351df0d7243a3 /arch/m68knommu/platform | |
parent | d5dca1e09497c9477a30f1b9eb847c4c22f05a26 (diff) |
m68knommu: fix gpio warnings for ColdFire 5307 targets
Fix these compiler warnings:
arch/m68knommu/platform/5307/gpio.c:35:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5307/gpio.c:36:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5307/gpio.c:37:3: warning: initialisation makes pointer from integer without a cast
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/platform')
-rw-r--r-- | arch/m68knommu/platform/5307/gpio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68knommu/platform/5307/gpio.c b/arch/m68knommu/platform/5307/gpio.c index 8da5880e4066..5850612b4a38 100644 --- a/arch/m68knommu/platform/5307/gpio.c +++ b/arch/m68knommu/platform/5307/gpio.c | |||
@@ -32,9 +32,9 @@ static struct mcf_gpio_chip mcf_gpio_chips[] = { | |||
32 | .set = mcf_gpio_set_value, | 32 | .set = mcf_gpio_set_value, |
33 | .ngpio = 16, | 33 | .ngpio = 16, |
34 | }, | 34 | }, |
35 | .pddr = MCFSIM_PADDR, | 35 | .pddr = (void __iomem *) MCFSIM_PADDR, |
36 | .podr = MCFSIM_PADAT, | 36 | .podr = (void __iomem *) MCFSIM_PADAT, |
37 | .ppdr = MCFSIM_PADAT, | 37 | .ppdr = (void __iomem *) MCFSIM_PADAT, |
38 | }, | 38 | }, |
39 | }; | 39 | }; |
40 | 40 | ||