]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
trivial: add __init/__exit macros in drivers/gpio/bt8xxgpio.c
authorPeter Huewe <peterhuewe@gmx.de>
Sun, 23 Aug 2009 00:01:10 +0000 (02:01 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 21 Sep 2009 13:14:59 +0000 (15:14 +0200)
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>
drivers/gpio/bt8xxgpio.c

index 984b587f0f96eb796c6b8971d1e5564973a6ae05..55904140213bdd2ebc6b3f952787737b4f166c63 100644 (file)
@@ -331,13 +331,13 @@ static struct pci_driver bt8xxgpio_pci_driver = {
        .resume         = bt8xxgpio_resume,
 };
 
-static int bt8xxgpio_init(void)
+static int __init bt8xxgpio_init(void)
 {
        return pci_register_driver(&bt8xxgpio_pci_driver);
 }
 module_init(bt8xxgpio_init)
 
-static void bt8xxgpio_exit(void)
+static void __exit bt8xxgpio_exit(void)
 {
        pci_unregister_driver(&bt8xxgpio_pci_driver);
 }