Patchwork [1/4] drivers/mtd/nand/cafe_nand.c: mark {__init|__exit} for {init|exit} functions

login
register
mail settings
Submitter Qinghuang Feng
Date Nov. 19, 2008, 1:16 p.m.
Message ID <492411a6.08486e0a.4d9d.ffffe118@mx.google.com>
Download mbox | patch
Permalink /patch/9585/
State New
Headers show

Comments

Qinghuang Feng - Nov. 19, 2008, 1:16 p.m.
Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
---

Patch

diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c
index b8064bf..7d7a80b 100644
--- a/drivers/mtd/nand/cafe_nand.c
+++ b/drivers/mtd/nand/cafe_nand.c
@@ -899,12 +899,12 @@  static struct pci_driver cafe_nand_pci_driver = {
 	.resume = cafe_nand_resume,
 };
 
-static int cafe_nand_init(void)
+static int __init cafe_nand_init(void)
 {
 	return pci_register_driver(&cafe_nand_pci_driver);
 }
 
-static void cafe_nand_exit(void)
+static void __exit cafe_nand_exit(void)
 {
 	pci_unregister_driver(&cafe_nand_pci_driver);
 }