diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-08-22 20:01:10 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-09-21 09:14:59 -0400 |
commit | 59f6a6c6e5625474b5e8e73a59425935b0028cfc (patch) | |
tree | d27a607e603d2e5a070f13c9b95dd5d281042dca /drivers/gpio | |
parent | 0e6b9e8c2c7b55569333a15e39d684dec986e226 (diff) |
trivial: add __init/__exit macros in drivers/gpio/bt8xxgpio.c
Trivial patch which adds the __init/__exit macro to the init/exit functions of
drivers/gpio/bt8xxgpio.c
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/bt8xxgpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/bt8xxgpio.c b/drivers/gpio/bt8xxgpio.c index 984b587f0f9..55904140213 100644 --- a/drivers/gpio/bt8xxgpio.c +++ b/drivers/gpio/bt8xxgpio.c | |||
@@ -331,13 +331,13 @@ static struct pci_driver bt8xxgpio_pci_driver = { | |||
331 | .resume = bt8xxgpio_resume, | 331 | .resume = bt8xxgpio_resume, |
332 | }; | 332 | }; |
333 | 333 | ||
334 | static int bt8xxgpio_init(void) | 334 | static int __init bt8xxgpio_init(void) |
335 | { | 335 | { |
336 | return pci_register_driver(&bt8xxgpio_pci_driver); | 336 | return pci_register_driver(&bt8xxgpio_pci_driver); |
337 | } | 337 | } |
338 | module_init(bt8xxgpio_init) | 338 | module_init(bt8xxgpio_init) |
339 | 339 | ||
340 | static void bt8xxgpio_exit(void) | 340 | static void __exit bt8xxgpio_exit(void) |
341 | { | 341 | { |
342 | pci_unregister_driver(&bt8xxgpio_pci_driver); | 342 | pci_unregister_driver(&bt8xxgpio_pci_driver); |
343 | } | 343 | } |