Commit 0d3b2ab6 authored by Geoff Levand's avatar Geoff Levand Committed by Paul Mackerras

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: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 59e4c3a2
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment