]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] 4xx: Fix Walnut build
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Wed, 6 Feb 2008 13:04:58 +0000 (07:04 -0600)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 7 Feb 2008 03:02:51 +0000 (21:02 -0600)
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>
arch/powerpc/platforms/40x/Kconfig
arch/powerpc/platforms/40x/walnut.c

index 74f31177e47a44e3aaf6dd0282c41af42a52bb41..a9260e21451e5b884cc3affe056945eaf2fd049f 100644 (file)
@@ -72,6 +72,7 @@ config WALNUT
        default y
        select 405GP
        select PCI
+       select OF_RTC
        help
          This option enables support for the IBM PPC405GP evaluation board.
 
index 5d9edd917f925382b4f3b5d920842dfb14cf297e..b8b257efeb773aaa0c3ee8b642088670c82db7e0 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <linux/init.h>
 #include <linux/of_platform.h>
+#include <linux/rtc.h>
 
 #include <asm/machdep.h>
 #include <asm/prom.h>