Skip to contentSkip to conversation

gpio: adding __init/__exit macros in drivers/gpio/bt8xxgpio.c

PATCH Applied Peter Huewe 3 participants 3 messages Aug 23, 2009 – Aug 24, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: adding __init/__exit macros in drivers/gpio/bt8xxgpio.c

From: Peter Huewe <[email protected]>

Trivial patch which adds the __init/__exit macro to the init/exit functions of drivers/gpio/bt8xxgpio.c

Michael, Kay or Greg, please have a look at the small patch and either pull it through your tree, or please ack' it so Jiri can pull it through the trivial tree.

linux version 2.6.31-rc7 - linus git tree, So 23. Aug 01:38:43 CEST 2009

---

drivers/gpio/bt8xxgpio.c +2 -2
index 984b587..5590414 100644
@@ -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);
 }
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · On Sunday 23 August 2009 02:01:10 Peter Huewe wrote:

From: Peter Huewe <[email protected]>

Trivial patch which adds the __init/__exit macro to the init/exit functions of drivers/gpio/bt8xxgpio.c

Quoted 7 lines

Michael, Kay or Greg, please have a look at the small patch and either pull it through your tree, or please ack' it so Jiri can pull it through the trivial tree.

linux version 2.6.31-rc7 - linus git tree, So 23. Aug 01:38:43 CEST 2009

Quoted 23 lines

---

drivers/gpio/bt8xxgpio.c +2 -2
index 984b587..5590414 100644
@@ -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);
 }
Signature · 1 line
Greetings, Michael.
Applied
#2 lore raw
Quoted 7 lines · Michael Buesch
Quoted 7 lines

Trivial patch which adds the __init/__exit macro to the init/exit functions of drivers/gpio/bt8xxgpio.c

Michael, Kay or Greg, please have a look at the small patch and either pull it through your tree, or please ack' it so Jiri can pull it through the trivial tree.

Quoted 5 lines
Quoted 3 lines

linux version 2.6.31-rc7 - linus git tree, So 23. Aug 01:38:43 CEST 2009

Applied, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs