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

From: Sachin Sant <[email-masked]>
Date: Mon, 24 Aug 2009 14:37:04 +0530

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 <[email-masked]>
> Signed-off-by: Geert Uytterhoeven <[email-masked]>
> ---
>  arch/powerpc/platforms/ps3/time.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
Thanks, boots fine now.

Tested-by : Sachin Sant <[email-masked]>

Regards
-Sachin

-- 

---------------------------------
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangalore, India
---------------------------------