aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/pc8736x_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/pc8736x_gpio.c')
-rw-r--r--drivers/char/pc8736x_gpio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/pc8736x_gpio.c b/drivers/char/pc8736x_gpio.c
index b16fbef816c2..48ff1fc8b06d 100644
--- a/drivers/char/pc8736x_gpio.c
+++ b/drivers/char/pc8736x_gpio.c
@@ -207,8 +207,6 @@ static void pc8736x_gpio_change(unsigned index)
207 pc8736x_gpio_set(index, !pc8736x_gpio_get(index)); 207 pc8736x_gpio_set(index, !pc8736x_gpio_get(index));
208} 208}
209 209
210extern void nsc_gpio_dump(unsigned iminor);
211
212static struct nsc_gpio_ops pc8736x_access = { 210static struct nsc_gpio_ops pc8736x_access = {
213 .owner = THIS_MODULE, 211 .owner = THIS_MODULE,
214 .gpio_config = pc8736x_gpio_configure, 212 .gpio_config = pc8736x_gpio_configure,
@@ -260,6 +258,7 @@ static int __init pc8736x_gpio_init(void)
260 dev_err(&pdev->dev, "no device found\n"); 258 dev_err(&pdev->dev, "no device found\n");
261 goto undo_platform_dev_add; 259 goto undo_platform_dev_add;
262 } 260 }
261 pc8736x_access.dev = &pdev->dev;
263 262
264 /* Verify that chip and it's GPIO unit are both enabled. 263 /* Verify that chip and it's GPIO unit are both enabled.
265 My BIOS does this, so I take minimum action here 264 My BIOS does this, so I take minimum action here