diff options
Diffstat (limited to 'drivers/gpio/gpio-ath79.c')
-rw-r--r-- | drivers/gpio/gpio-ath79.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-ath79.c b/drivers/gpio/gpio-ath79.c index e5827a56ff3b..b1410226dc95 100644 --- a/drivers/gpio/gpio-ath79.c +++ b/drivers/gpio/gpio-ath79.c | |||
@@ -177,7 +177,7 @@ static int ath79_gpio_probe(struct platform_device *pdev) | |||
177 | 177 | ||
178 | spin_lock_init(&ctrl->lock); | 178 | spin_lock_init(&ctrl->lock); |
179 | memcpy(&ctrl->chip, &ath79_gpio_chip, sizeof(ctrl->chip)); | 179 | memcpy(&ctrl->chip, &ath79_gpio_chip, sizeof(ctrl->chip)); |
180 | ctrl->chip.dev = &pdev->dev; | 180 | ctrl->chip.parent = &pdev->dev; |
181 | ctrl->chip.ngpio = ath79_gpio_count; | 181 | ctrl->chip.ngpio = ath79_gpio_count; |
182 | if (oe_inverted) { | 182 | if (oe_inverted) { |
183 | ctrl->chip.direction_input = ar934x_gpio_direction_input; | 183 | ctrl->chip.direction_input = ar934x_gpio_direction_input; |