summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-ks8695.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-ks8695.c')
-rw-r--r--drivers/gpio/gpio-ks8695.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-ks8695.c b/drivers/gpio/gpio-ks8695.c
index cc09b237e88c..9f86ed9c753b 100644
--- a/drivers/gpio/gpio-ks8695.c
+++ b/drivers/gpio/gpio-ks8695.c
@@ -234,7 +234,7 @@ static struct gpio_chip ks8695_gpio_chip = {
/* Register the GPIOs */
void ks8695_register_gpios(void)
{
- if (gpiochip_add(&ks8695_gpio_chip))
+ if (gpiochip_add_data(&ks8695_gpio_chip, NULL))
printk(KERN_ERR "Unable to register core GPIOs\n");
}