HID: adding __init/__exit macros to module init/exit functions
[linux-2.6-block.git] / drivers / hid / hid-lg.c
index b30af30a0b17543630b6dcfb1db6917ac0576eae..0f870a3243ed1ef2a9870c4a32c63b7519975c03 100644 (file)
@@ -317,12 +317,12 @@ static struct hid_driver lg_driver = {
        .probe = lg_probe,
 };
 
-static int lg_init(void)
+static int __init lg_init(void)
 {
        return hid_register_driver(&lg_driver);
 }
 
-static void lg_exit(void)
+static void __exit lg_exit(void)
 {
        hid_unregister_driver(&lg_driver);
 }