summaryrefslogtreecommitdiff
path: root/arch/xtensa/variants/s6000/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/variants/s6000/gpio.c')
-rw-r--r--arch/xtensa/variants/s6000/gpio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/xtensa/variants/s6000/gpio.c b/arch/xtensa/variants/s6000/gpio.c
index 33a8d952934c..79317fdcf14c 100644
--- a/arch/xtensa/variants/s6000/gpio.c
+++ b/arch/xtensa/variants/s6000/gpio.c
@@ -64,8 +64,7 @@ static struct gpio_chip gpiochip = {
.exported = 0, /* no exporting to userspace */
};
-static int gpio_init(void)
+int s6_gpio_init(void)
{
return gpiochip_add(&gpiochip);
}
-device_initcall(gpio_init);