projects
/
linux-edison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e4c3a
)
powerpc/ps3: Fix CONFIG_PS3_FLASH=n build warning
author
Geoff Levand
<geoffrey.levand@am.sony.com>
Thu, 16 Apr 2009 09:05:38 +0000
(09:05 +0000)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 22 Apr 2009 04:56:34 +0000
(14:56 +1000)
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>
arch/powerpc/platforms/ps3/os-area.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/ps3/os-area.c
b/arch/powerpc/platforms/ps3/os-area.c
index
86e392b
..
cf1cd0f
100644
(file)
--- 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;