[PATCH] timer: fix up problem where two sysdev_class devices had the same name.

Greg KH
2004-11-09T23:31:53Z

Thanks to Kay Sievers for reporting this.

Was caused by a change from Venkatesh Pallipadi as seen at:
http://linux.bkbits.net:8080/linux-2.5/cset@41810e4aGZ0E5bn_hMb4JgIY5u90zA

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

diff -Nru a/arch/i386/kernel/timers/timer_pit.c b/arch/i386/kernel/timers/timer_pit.c
--- a/arch/i386/kernel/timers/timer_pit.c 2004-11-09 15:25:54 -08:00
+++ b/arch/i386/kernel/timers/timer_pit.c 2004-11-09 15:25:54 -08:00
@@ -181,7 +181,7 @@
}

static struct sysdev_class timer_sysclass = {
- set_kset_name("timer"),
+ set_kset_name("timer_pit"),
.resume = timer_resume,
};