浏览代码

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>
Geoff Levand 16 年之前
父节点
当前提交
0d3b2ab6be
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/powerpc/platforms/ps3/os-area.c

+ 1 - 1
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 result;
 	int file;
 	int file;