Selaa lähdekoodia

[POWERPC] Enable generic rtc hook for the MPC8349 mITX

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Kim Phillips 19 vuotta sitten
vanhempi
commit
a8ed4f7ec3
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      arch/powerpc/platforms/83xx/mpc834x_itx.c

+ 4 - 0
arch/powerpc/platforms/83xx/mpc834x_itx.c

@@ -109,6 +109,10 @@ static int __init mpc834x_itx_probe(void)
 	return 1;
 }
 
+#ifdef CONFIG_RTC_CLASS
+late_initcall(rtc_class_hookup);
+#endif
+
 define_machine(mpc834x_itx) {
 	.name			= "MPC834x ITX",
 	.probe			= mpc834x_itx_probe,