]> Devoid-pointer.net GitWeb - omnibook.git/commitdiff
Fix section mismatch
authorMathieu Bérard <mathieu.berard@crans.org>
Tue, 20 Jun 2006 22:05:00 +0000 (22:05 +0000)
committerMathieu Bérard <mathieu.berard@crans.org>
Tue, 20 Jun 2006 22:05:00 +0000 (22:05 +0000)
apmemu.c
blank.c
fan.c
lcd.c
onetouch.c
touchpad.c

index 9b306f0642f2b2e5ac977f494966dcab457d2887..c0c86cbfc7e9da8f57111dbf856cbe3d7b933e1c 100644 (file)
--- a/apmemu.c
+++ b/apmemu.c
@@ -136,7 +136,7 @@ static int omnibook_apmemu_read(char *buffer)
        return len;
 }
 
-static int __init omnibook_apmemu_init(void)
+static int omnibook_apmemu_init(void)
 {
 #ifdef CONFIG_APM
        if (!apm_info.disabled) {
diff --git a/blank.c b/blank.c
index d9a2a89412ffd94f84fe691af65bd96b5d457a06..1bf24c46ec98849cdaa25f64aa8f32535f8a2e23 100644 (file)
--- a/blank.c
+++ b/blank.c
@@ -146,7 +146,7 @@ static int omnibook_console_blank_write(char *buffer)
        return 0;
 }
 
-static int __init omnibook_console_blank_init(void)
+static int omnibook_console_blank_init(void)
 {
 
        int retval;
@@ -157,7 +157,7 @@ static int __init omnibook_console_blank_init(void)
        return 0;
 }
 
-static void __exit omnibook_console_blank_cleanup(void)
+static void omnibook_console_blank_cleanup(void)
 {
        omnibook_console_blank_disable();
 }
diff --git a/fan.c b/fan.c
index c46e418c699cafd3b50087b3a264dffadd41ce57..04c031f7fb459659234b2ba4d5f6fc078d799553 100644 (file)
--- a/fan.c
+++ b/fan.c
@@ -281,7 +281,7 @@ static int omnibook_fan_write(char *buffer)
 
 struct omnibook_feature fan_feature;
 
-static int __init omnibook_fan_init(void)
+static int omnibook_fan_init(void)
 {
        /*
         * OB4150
diff --git a/lcd.c b/lcd.c
index 985933e9cd18a7c791c2a44b957dd37ed46987dd..5a60913f74b2bf2f4d65c1050d016778f31b0abf 100644 (file)
--- a/lcd.c
+++ b/lcd.c
@@ -169,7 +169,7 @@ static int omnibook_brightness_write(char *buffer)
        return 0;
 }
 
-static int __init omnibook_brightness_init(void)
+static int omnibook_brightness_init(void)
 {
        /*
         * FIXME: What is exactly de max value for each model ?
@@ -201,7 +201,7 @@ static int __init omnibook_brightness_init(void)
        return 0;
 }
 
-static void __exit omnibook_brightness_cleanup(void)
+static void omnibook_brightness_cleanup(void)
 {
 #ifdef CONFIG_OMNIBOOK_BACKLIGHT
        backlight_device_unregister(omnibook_backlight_device);
index 9977faebdf83b001ac7c97444478c75916aeaa93..0241a3a556abdefa6fb33b1fdf212955dc07ad2b 100644 (file)
@@ -151,7 +151,7 @@ static int omnibook_onetouch_write(char *buffer)
        return 0;
 }
 
-static int __init omnibook_onetouch_init(void)
+static int omnibook_onetouch_init(void)
 {
        int retval;
 
@@ -160,7 +160,7 @@ static int __init omnibook_onetouch_init(void)
        return 0;
 }
 
-static void __exit omnibook_onetouch_cleanup(void)
+static void omnibook_onetouch_cleanup(void)
 {
        omnibook_onetouch_disable();
 }
index 7f84feb4111a4f3889af0e32a9408e734c03af07..8c37c48258cae2927111f7939b0f558fd8cf32ac 100644 (file)
@@ -146,7 +146,7 @@ static int omnibook_touchpad_write(char *buffer)
        return 0;
 }
 
-static void __exit omnibook_touchpad_cleanup(void)
+static void omnibook_touchpad_cleanup(void)
 {
        omnibook_touchpad_enable();
 }