From: Josh Boyer Date: Wed, 6 Feb 2008 13:04:58 +0000 (-0600) Subject: [POWERPC] 4xx: Fix Walnut build X-Git-Tag: v2.6.25-rc1~303^2~15^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fde9d16faee27907852b59e7c0cd0741975c37eb;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/arch/powerpc/platforms/40x/Kconfig b/arch/powerpc/platforms/40x/Kconfig index 74f31177e47..a9260e21451 100644 --- a/arch/powerpc/platforms/40x/Kconfig +++ b/arch/powerpc/platforms/40x/Kconfig @@ -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. diff --git a/arch/powerpc/platforms/40x/walnut.c b/arch/powerpc/platforms/40x/walnut.c index 5d9edd917f9..b8b257efeb7 100644 --- a/arch/powerpc/platforms/40x/walnut.c +++ b/arch/powerpc/platforms/40x/walnut.c @@ -18,6 +18,7 @@ #include #include +#include #include #include