summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-loongson.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-loongson.c')
-rw-r--r--drivers/gpio/gpio-loongson.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-loongson.c b/drivers/gpio/gpio-loongson.c
index ccc65a1ae..92c4fe7b2 100644
--- a/drivers/gpio/gpio-loongson.c
+++ b/drivers/gpio/gpio-loongson.c
@@ -110,6 +110,6 @@ static struct gpio_chip loongson_chip = {
static int __init loongson_gpio_setup(void)
{
- return gpiochip_add(&loongson_chip);
+ return gpiochip_add_data(&loongson_chip, NULL);
}
postcore_initcall(loongson_gpio_setup);