diff options
Diffstat (limited to 'drivers/gpio/bt8xxgpio.c')
-rw-r--r-- | drivers/gpio/bt8xxgpio.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpio/bt8xxgpio.c b/drivers/gpio/bt8xxgpio.c index 984b587f0f96..2559f2289409 100644 --- a/drivers/gpio/bt8xxgpio.c +++ b/drivers/gpio/bt8xxgpio.c | |||
@@ -46,8 +46,7 @@ | |||
46 | #include <linux/module.h> | 46 | #include <linux/module.h> |
47 | #include <linux/pci.h> | 47 | #include <linux/pci.h> |
48 | #include <linux/spinlock.h> | 48 | #include <linux/spinlock.h> |
49 | 49 | #include <linux/gpio.h> | |
50 | #include <asm/gpio.h> | ||
51 | 50 | ||
52 | /* Steal the hardware definitions from the bttv driver. */ | 51 | /* Steal the hardware definitions from the bttv driver. */ |
53 | #include "../media/video/bt8xx/bt848.h" | 52 | #include "../media/video/bt8xx/bt848.h" |
@@ -331,13 +330,13 @@ static struct pci_driver bt8xxgpio_pci_driver = { | |||
331 | .resume = bt8xxgpio_resume, | 330 | .resume = bt8xxgpio_resume, |
332 | }; | 331 | }; |
333 | 332 | ||
334 | static int bt8xxgpio_init(void) | 333 | static int __init bt8xxgpio_init(void) |
335 | { | 334 | { |
336 | return pci_register_driver(&bt8xxgpio_pci_driver); | 335 | return pci_register_driver(&bt8xxgpio_pci_driver); |
337 | } | 336 | } |
338 | module_init(bt8xxgpio_init) | 337 | module_init(bt8xxgpio_init) |
339 | 338 | ||
340 | static void bt8xxgpio_exit(void) | 339 | static void __exit bt8xxgpio_exit(void) |
341 | { | 340 | { |
342 | pci_unregister_driver(&bt8xxgpio_pci_driver); | 341 | pci_unregister_driver(&bt8xxgpio_pci_driver); |
343 | } | 342 | } |