From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id DC579B7B69 for ; Tue, 25 Aug 2009 05:02:16 +1000 (EST) Message-ID: <4A92DEE4.3070108@am.sony.com> Date: Mon, 24 Aug 2009 11:41:40 -0700 From: Geoff Levand MIME-Version: 1.0 To: Geert Uytterhoeven Subject: Re: [PATCH for 2.6.31] powerpc/ps3: Add missing check for PS3 to rtc-ps3 platform device registration References: <4A923AD3.1020507@in.ibm.com> <1251099552.19818.4.camel@concordia> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-15" Cc: cbe-oss-dev@ozlabs.org, Linux/PPC Development List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > Signed-off-by: Geert Uytterhoeven > --- > arch/powerpc/platforms/ps3/time.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) Acked-by: Geoff Levand