From: Geoff Levand Date: Thu, 16 Apr 2009 09:05:38 +0000 (+0000) Subject: powerpc/ps3: Fix CONFIG_PS3_FLASH=n build warning X-Git-Tag: v4.13~23484^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0d3b2ab6be1500041e11059bee97e83da9da28cc;p=mirror_ubuntu-bionic-kernel.git 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 Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/platforms/ps3/os-area.c b/arch/powerpc/platforms/ps3/os-area.c index 86e392b1b049..cf1cd0f8c18f 100644 --- 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_area_db *db) * */ -static void update_flash_db(void) +static void __maybe_unused update_flash_db(void) { int result; int file;