diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-04-16 09:05:38 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2009-04-22 14:56:34 +1000 |
commit | 0d3b2ab6be1500041e11059bee97e83da9da28cc (patch) | |
tree | 4b2bf7e7f30ae6572251d0e8f2d0007d4ed61639 /arch/powerpc | |
parent | 59e4c3a2fe9cb1681bb2cff508ff79466f7585ba (diff) | |
download | op-kernel-dev-0d3b2ab6be1500041e11059bee97e83da9da28cc.zip op-kernel-dev-0d3b2ab6be1500041e11059bee97e83da9da28cc.tar.gz |
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/ps3/os-area.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/ps3/os-area.c b/arch/powerpc/platforms/ps3/os-area.c index 86e392b1..cf1cd0f 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; |