[PATCH] timer: fix up problem where two sysdev_class devices had the same name.
From: Greg KH
Date: Tue Nov 09 2004 - 18:35:51 EST
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@xxxxxxxxx>
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,
};
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/