diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-03-08 18:05:40 -0500 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-03-15 07:01:56 -0400 |
commit | 2470758ae500a08d8d0e23b6c4024341ee2be4d7 (patch) | |
tree | 5480d0fd0fa60df877d160ca1a58342819953be5 | |
parent | 2836827d7b47d40283424ee90aaa2f7922d4558a (diff) |
m68knommu: fix gpio warnings for ColdFire 5249 targets
Fix these compiler warnings:
arch/m68knommu/platform/5249/gpio.c:35:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5249/gpio.c:36:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5249/gpio.c:37:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5249/gpio.c:51:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5249/gpio.c:52:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5249/gpio.c:53:3: warning: initialisation makes pointer from integer without a cast
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
-rw-r--r-- | arch/m68knommu/platform/5249/gpio.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/m68knommu/platform/5249/gpio.c b/arch/m68knommu/platform/5249/gpio.c index c611eab8b3b6..2b56c6ef65bf 100644 --- a/arch/m68knommu/platform/5249/gpio.c +++ b/arch/m68knommu/platform/5249/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 = 32, | 33 | .ngpio = 32, |
34 | }, | 34 | }, |
35 | .pddr = MCFSIM2_GPIOENABLE, | 35 | .pddr = (void __iomem *) MCFSIM2_GPIOENABLE, |
36 | .podr = MCFSIM2_GPIOWRITE, | 36 | .podr = (void __iomem *) MCFSIM2_GPIOWRITE, |
37 | .ppdr = MCFSIM2_GPIOREAD, | 37 | .ppdr = (void __iomem *) MCFSIM2_GPIOREAD, |
38 | }, | 38 | }, |
39 | { | 39 | { |
40 | .gpio_chip = { | 40 | .gpio_chip = { |
@@ -48,9 +48,9 @@ static struct mcf_gpio_chip mcf_gpio_chips[] = { | |||
48 | .base = 32, | 48 | .base = 32, |
49 | .ngpio = 32, | 49 | .ngpio = 32, |
50 | }, | 50 | }, |
51 | .pddr = MCFSIM2_GPIO1ENABLE, | 51 | .pddr = (void __iomem *) MCFSIM2_GPIO1ENABLE, |
52 | .podr = MCFSIM2_GPIO1WRITE, | 52 | .podr = (void __iomem *) MCFSIM2_GPIO1WRITE, |
53 | .ppdr = MCFSIM2_GPIO1READ, | 53 | .ppdr = (void __iomem *) MCFSIM2_GPIO1READ, |
54 | }, | 54 | }, |
55 | }; | 55 | }; |
56 | 56 | ||