From: Mathieu BĂ©rard Date: Tue, 20 Jun 2006 22:05:00 +0000 (+0000) Subject: Fix section mismatch X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=b0e4b6fc5d5fb568d94235802c7bc71e0d3f5a56;p=omnibook.git Fix section mismatch --- diff --git a/apmemu.c b/apmemu.c index 9b306f0..c0c86cb 100644 --- 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 d9a2a89..1bf24c4 100644 --- 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 c46e418..04c031f 100644 --- 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 985933e..5a60913 100644 --- 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); diff --git a/onetouch.c b/onetouch.c index 9977fae..0241a3a 100644 --- a/onetouch.c +++ b/onetouch.c @@ -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(); } diff --git a/touchpad.c b/touchpad.c index 7f84feb..8c37c48 100644 --- a/touchpad.c +++ b/touchpad.c @@ -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(); }