Skip to content

Commit

Permalink
powerpc/ps3: Fix CONFIG_PS3_FLASH=n build warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geoff Levand authored and Paul Mackerras committed Apr 22, 2009
1 parent 59e4c3a commit 0d3b2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/ps3/os-area.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0d3b2ab

Please sign in to comment.