diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-03-08 18:07:36 -0500 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-03-15 07:01:56 -0400 |
commit | 4d1f692f3002b580b1fd49fba74c1b7c5c123a9c (patch) | |
tree | 6ca73d0e145b99aa9183c78fb8cb772b7f3c0966 | |
parent | 2470758ae500a08d8d0e23b6c4024341ee2be4d7 (diff) |
m68knommu: fix gpio warnings for ColdFire 5272 targets
Fix these compiler warnings:
arch/m68knommu/platform/5272/gpio.c:35:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5272/gpio.c:36:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5272/gpio.c:37:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5272/gpio.c:51:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5272/gpio.c:52:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5272/gpio.c:53:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5272/gpio.c:67:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5272/gpio.c:68:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5272/gpio.c:69:3: warning: initialisation makes pointer from integer without a cast
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
-rw-r--r-- | arch/m68knommu/platform/5272/gpio.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/m68knommu/platform/5272/gpio.c b/arch/m68knommu/platform/5272/gpio.c index 459db89a89cc..57ac10a5d7f7 100644 --- a/arch/m68knommu/platform/5272/gpio.c +++ b/arch/m68knommu/platform/5272/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 | .gpio_chip = { | 40 | .gpio_chip = { |
@@ -48,9 +48,9 @@ static struct mcf_gpio_chip mcf_gpio_chips[] = { | |||
48 | .base = 16, | 48 | .base = 16, |
49 | .ngpio = 16, | 49 | .ngpio = 16, |
50 | }, | 50 | }, |
51 | .pddr = MCFSIM_PBDDR, | 51 | .pddr = (void __iomem *) MCFSIM_PBDDR, |
52 | .podr = MCFSIM_PBDAT, | 52 | .podr = (void __iomem *) MCFSIM_PBDAT, |
53 | .ppdr = MCFSIM_PBDAT, | 53 | .ppdr = (void __iomem *) MCFSIM_PBDAT, |
54 | }, | 54 | }, |
55 | { | 55 | { |
56 | .gpio_chip = { | 56 | .gpio_chip = { |
@@ -64,9 +64,9 @@ static struct mcf_gpio_chip mcf_gpio_chips[] = { | |||
64 | .base = 32, | 64 | .base = 32, |
65 | .ngpio = 16, | 65 | .ngpio = 16, |
66 | }, | 66 | }, |
67 | .pddr = MCFSIM_PCDDR, | 67 | .pddr = (void __iomem *) MCFSIM_PCDDR, |
68 | .podr = MCFSIM_PCDAT, | 68 | .podr = (void __iomem *) MCFSIM_PCDAT, |
69 | .ppdr = MCFSIM_PCDAT, | 69 | .ppdr = (void __iomem *) MCFSIM_PCDAT, |
70 | }, | 70 | }, |
71 | }; | 71 | }; |
72 | 72 | ||