summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-mc9s08dz60.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-mc9s08dz60.c')
-rw-r--r--drivers/gpio/gpio-mc9s08dz60.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-mc9s08dz60.c b/drivers/gpio/gpio-mc9s08dz60.c
index d62b4f8182bf..defa38f958fb 100644
--- a/drivers/gpio/gpio-mc9s08dz60.c
+++ b/drivers/gpio/gpio-mc9s08dz60.c
@@ -99,7 +99,7 @@ static int mc9s08dz60_probe(struct i2c_client *client,
mc9s->chip.label = client->name;
mc9s->chip.base = -1;
- mc9s->chip.dev = &client->dev;
+ mc9s->chip.parent = &client->dev;
mc9s->chip.owner = THIS_MODULE;
mc9s->chip.ngpio = GPIO_NUM;
mc9s->chip.can_sleep = true;