commit | 7b6a09f3d6aedeaac923824af2a5df30300b56e9 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | Sun Aug 23 22:54:32 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Aug 27 13:25:46 2009 +1000 |
tree | 24e81f45b2dc8a3327de366126d69f5ed1239221 | |
parent | f415c413f458837bd0c27086b79aca889f9435e4 [diff] |
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 <sachinp@in.ibm.com> Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Acked-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>