diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-06-25 17:54:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:24:24 -0400 |
commit | 8378b92405dd606c6f3a0b1e303b67c8f8c9f743 (patch) | |
tree | c5d19893d0f3d2e1bd348dfe3a3571484953f4ca /drivers/char/misc.c | |
parent | 352f8f8bfbfb401c8af4c685beaafeb95c27fdd1 (diff) |
[PATCH] I8K: initialization code cleanup; formatting
I8K: use module_{init|exit} instead of old style #ifdef MODULE
code, some formatting changes.
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.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/misc.c b/drivers/char/misc.c index f7e838eae19c..31cf84d69026 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c | |||
@@ -66,7 +66,6 @@ static unsigned char misc_minors[DYNAMIC_MINORS / 8]; | |||
66 | extern int rtc_DP8570A_init(void); | 66 | extern int rtc_DP8570A_init(void); |
67 | extern int rtc_MK48T08_init(void); | 67 | extern int rtc_MK48T08_init(void); |
68 | extern int pmu_device_init(void); | 68 | extern int pmu_device_init(void); |
69 | extern int i8k_init(void); | ||
70 | 69 | ||
71 | #ifdef CONFIG_PROC_FS | 70 | #ifdef CONFIG_PROC_FS |
72 | static void *misc_seq_start(struct seq_file *seq, loff_t *pos) | 71 | static void *misc_seq_start(struct seq_file *seq, loff_t *pos) |
@@ -313,9 +312,6 @@ static int __init misc_init(void) | |||
313 | #ifdef CONFIG_PMAC_PBOOK | 312 | #ifdef CONFIG_PMAC_PBOOK |
314 | pmu_device_init(); | 313 | pmu_device_init(); |
315 | #endif | 314 | #endif |
316 | #ifdef CONFIG_I8K | ||
317 | i8k_init(); | ||
318 | #endif | ||
319 | if (register_chrdev(MISC_MAJOR,"misc",&misc_fops)) { | 315 | if (register_chrdev(MISC_MAJOR,"misc",&misc_fops)) { |
320 | printk("unable to get major %d for misc devices\n", | 316 | printk("unable to get major %d for misc devices\n", |
321 | MISC_MAJOR); | 317 | MISC_MAJOR); |