aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/misc.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2005-06-25 17:54:22 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 19:24:24 -0400
commit3f5f7e2eeb539da95157d7fa8c94fb2f3284b9cc (patch)
treec3a454e0660ca8b3a2b30a7d1aa1c026ef7242c8 /drivers/char/misc.c
parent5cdb7b48d0d5963e40bb6621bfa7b2d5fddc4562 (diff)
[PATCH] Toshiba driver cleanup
Toshiba legacy driver cleanup: - use module_init/module_exit for initialization instead of using #ifdef MODULE and calling tosh_init manually from drivers/char/misc.c - do not explicitly initialize static variables - some whitespace and formatting cleanups Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/misc.c')
-rw-r--r--drivers/char/misc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 3115d318b997..f7e838eae19c 100644
--- a/drivers/char/misc.c
+++ b/drivers/char/misc.c
@@ -66,7 +66,6 @@ static unsigned char misc_minors[DYNAMIC_MINORS / 8];
66extern int rtc_DP8570A_init(void); 66extern int rtc_DP8570A_init(void);
67extern int rtc_MK48T08_init(void); 67extern int rtc_MK48T08_init(void);
68extern int pmu_device_init(void); 68extern int pmu_device_init(void);
69extern int tosh_init(void);
70extern int i8k_init(void); 69extern int i8k_init(void);
71 70
72#ifdef CONFIG_PROC_FS 71#ifdef CONFIG_PROC_FS
@@ -314,9 +313,6 @@ static int __init misc_init(void)
314#ifdef CONFIG_PMAC_PBOOK 313#ifdef CONFIG_PMAC_PBOOK
315 pmu_device_init(); 314 pmu_device_init();
316#endif 315#endif
317#ifdef CONFIG_TOSHIBA
318 tosh_init();
319#endif
320#ifdef CONFIG_I8K 316#ifdef CONFIG_I8K
321 i8k_init(); 317 i8k_init();
322#endif 318#endif