powerpc/ps3: Fix CONFIG_PS3_FLASH=n build warning

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 <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Geoff Levand 2009-04-16 09:05:38 +00:00 committed by Paul Mackerras
parent 59e4c3a2fe
commit 0d3b2ab6be
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ static void os_area_db_init(struct os_area_db *db)
*
*/
static void update_flash_db(void)
static void __maybe_unused update_flash_db(void)
{
int result;
int file;