From: Geert Uytterhoeven Date: Sun, 23 Aug 2009 22:54:32 +0000 (+0000) Subject: powerpc/ps3: Add missing check for PS3 to rtc-ps3 platform device registration X-Git-Tag: v2.6.31-rc8~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b6a09f3d6aedeaac923824af2a5df30300b56e9;p=pandora-kernel.git powerpc/ps3: Add missing check for PS3 to rtc-ps3 platform device registration On non-PS3, we get: | kernel BUG at drivers/rtc/rtc-ps3.c:36! because the rtc-ps3 platform device is registered unconditionally in a kernel with builtin support for PS3. Reported-by: Sachin Sant Signed-off-by: Geert Uytterhoeven Acked-by: Geoff Levand Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed