mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
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:
parent
59e4c3a2fe
commit
0d3b2ab6be
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user