Skip to content

Commit

Permalink
trivial: add __init/__exit macros in drivers/gpio/bt8xxgpio.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and Jiri Kosina committed Sep 21, 2009
1 parent 0e6b9e8 commit 59f6a6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpio/bt8xxgpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 59f6a6c

Please sign in to comment.