mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
d5dca1e094
commit
2af36dc423
|
@ -32,9 +32,9 @@ static struct mcf_gpio_chip mcf_gpio_chips[] = {
|
||||||
.set = mcf_gpio_set_value,
|
.set = mcf_gpio_set_value,
|
||||||
.ngpio = 16,
|
.ngpio = 16,
|
||||||
},
|
},
|
||||||
.pddr = MCFSIM_PADDR,
|
.pddr = (void __iomem *) MCFSIM_PADDR,
|
||||||
.podr = MCFSIM_PADAT,
|
.podr = (void __iomem *) MCFSIM_PADAT,
|
||||||
.ppdr = MCFSIM_PADAT,
|
.ppdr = (void __iomem *) MCFSIM_PADAT,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue