From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hera.kernel.org (hera.kernel.org [140.211.167.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B00A7DDE00 for ; Fri, 17 Apr 2009 05:27:09 +1000 (EST) Message-Id: <20090416190536.684970903@am.sony.com>> References: <20090416190536.540992667@am.sony.com>> In-Reply-To: <20090416190536.540992667@am.sony.com>> Date: Thu, 16 Apr 2009 12:05:38 -0700 From: Geoff Levand To: Paul Mackerras Subject: [patch 2/4] powerpc/ps3: Fix no flash build warning Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Fix build warnings like these when CONFIG_PS3_FLASH=n: arch/powerpc/platforms/ps3/os-area.c: warning: 'update_flash_db' defined but not used Signed-off-by: Geoff Levand --- arch/powerpc/platforms/ps3/os-area.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/powerpc/platforms/ps3/os-area.c +++ b/arch/powerpc/platforms/ps3/os-area.c @@ -578,7 +578,7 @@ static void os_area_db_init(struct os_ar * */ -static void update_flash_db(void) +static void __maybe_unused update_flash_db(void) { int result; int file; --