1
0
Fork 0

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>
hifive-unleashed-5.1
Peter Huewe 2009-08-23 02:01:10 +02:00 committed by Jiri Kosina
parent 0e6b9e8c2c
commit 59f6a6c6e5
1 changed files with 2 additions and 2 deletions

View 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);
}