diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-03-08 23:55:53 +0100 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-03-15 12:01:56 +0100 |
commit | d5365ca5aa65a4988a8c713f0f902f367ae7cdb3 (patch) | |
tree | 83ec6a69ce6c5a19962eac4db8e5253ed52de159 /arch/m68knommu | |
parent | m68knommu: fix gpio warnings for ColdFire 5206 targets (diff) | |
download | linux-d5365ca5aa65a4988a8c713f0f902f367ae7cdb3.tar.xz linux-d5365ca5aa65a4988a8c713f0f902f367ae7cdb3.zip |
m68knommu: fix gpio warnings for ColdFire 5206e targets
Fix these compiler warnings:
arch/m68knommu/platform/5206e/gpio.c:35:3: warning: initialisation makes pointer from integer without a cast CC kernel/panic.o
arch/m68knommu/platform/5206e/gpio.c:36:3: warning: initialisation makes pointer from integer without a cast
arch/m68knommu/platform/5206e/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')
-rw-r--r-- | arch/m68knommu/platform/5206e/gpio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68knommu/platform/5206e/gpio.c b/arch/m68knommu/platform/5206e/gpio.c index 60f779ce1651..b9ab4a120f28 100644 --- a/arch/m68knommu/platform/5206e/gpio.c +++ b/arch/m68knommu/platform/5206e/gpio.c @@ -32,9 +32,9 @@ static struct mcf_gpio_chip mcf_gpio_chips[] = { .set = mcf_gpio_set_value, .ngpio = 8, }, - .pddr = MCFSIM_PADDR, - .podr = MCFSIM_PADAT, - .ppdr = MCFSIM_PADAT, + .pddr = (void __iomem *) MCFSIM_PADDR, + .podr = (void __iomem *) MCFSIM_PADAT, + .ppdr = (void __iomem *) MCFSIM_PADAT, }, }; |