[PATCH for 2.6.31] powerpc/ps3: Add missing check for PS3 to rtc-ps3 platform device registration

Geoff Levand geoffrey.levand at am.sony.com
Tue Aug 25 04:41:40 EST 2009


On 08/24/2009 01:54 AM, Geert Uytterhoeven wrote:
> 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 at in.ibm.com>
> Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com>
> ---
>  arch/powerpc/platforms/ps3/time.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)

Acked-by: Geoff Levand <geoffrey.levand at am.sony.com>



More information about the Linuxppc-dev mailing list