Преглед изворни кода

[POWERPC] 4xx: Fix Walnut build

The addition of of_rtc for the Walnut board was only half complete.  Select
OF_RTC in the Kconfig and include the appropriate header to make it compile.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Josh Boyer пре 17 година
родитељ
комит
fde9d16fae
2 измењених фајлова са 2 додато и 0 уклоњено
  1. 1 0
      arch/powerpc/platforms/40x/Kconfig
  2. 1 0
      arch/powerpc/platforms/40x/walnut.c

+ 1 - 0
arch/powerpc/platforms/40x/Kconfig

@@ -72,6 +72,7 @@ config WALNUT
 	default y
 	default y
 	select 405GP
 	select 405GP
 	select PCI
 	select PCI
+	select OF_RTC
 	help
 	help
 	  This option enables support for the IBM PPC405GP evaluation board.
 	  This option enables support for the IBM PPC405GP evaluation board.
 
 

+ 1 - 0
arch/powerpc/platforms/40x/walnut.c

@@ -18,6 +18,7 @@
 
 
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/of_platform.h>
 #include <linux/of_platform.h>
+#include <linux/rtc.h>
 
 
 #include <asm/machdep.h>
 #include <asm/machdep.h>
 #include <asm/prom.h>
 #include <asm/prom.h>