summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2012-10-29 13:34:41 +0000
committerTom Rini <trini@ti.com>2012-11-04 11:00:37 -0700
commit8121d3c5ccc2cb552ddcf7eba7be5e1196232e1c (patch)
treee928b5726d6743bf8c5431a47d734ad6dfc32ae2 /drivers/gpio
parent00caa7f508f37327f7d4f6ca08ffdec09e411c10 (diff)
downloadu-boot-8121d3c5ccc2cb552ddcf7eba7be5e1196232e1c.tar.gz
u-boot-8121d3c5ccc2cb552ddcf7eba7be5e1196232e1c.tar.bz2
u-boot-8121d3c5ccc2cb552ddcf7eba7be5e1196232e1c.zip
drivers/gpio/mpc83xx_gpio.c: sparse fixes
mpc83xx_gpio.c:166:26: warning: non-ANSI function declaration of function 'mpc83xx_gpio_init_f' mpc83xx_gpio.c:190:26: warning: non-ANSI function declaration of function 'mpc83xx_gpio_init_r' Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/mpc83xx_gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/mpc83xx_gpio.c b/drivers/gpio/mpc83xx_gpio.c
index a9afcb2dd6..e167852b83 100644
--- a/drivers/gpio/mpc83xx_gpio.c
+++ b/drivers/gpio/mpc83xx_gpio.c
@@ -163,7 +163,7 @@ int gpio_set_value(unsigned gpio, int value)
}
/* Configure GPIO registers early */
-void mpc83xx_gpio_init_f()
+void mpc83xx_gpio_init_f(void)
{
immap_t *im = (immap_t *)CONFIG_SYS_IMMR;
@@ -187,7 +187,7 @@ void mpc83xx_gpio_init_f()
}
/* Initialize GPIO soft-copies */
-void mpc83xx_gpio_init_r()
+void mpc83xx_gpio_init_r(void)
{
#if MPC83XX_GPIO_CTRLRS >= 1
gpio_output_value[0] = CONFIG_MPC83XX_GPIO_0_INIT_VALUE;