Skip to content

Commit

Permalink
PM debug: Fix warning when no CONFIG_DEBUG_FS
Browse files Browse the repository at this point in the history
Fix following warning when CONFIG_DEBUG_FS wasn't selected:

arch/arm/mach-omap2/pm-debug.c:57: warning: 'pm_dbg_init' declared 'static' but never defined

Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
  • Loading branch information
Sergio Aguirre authored and Kevin Hilman committed Jan 21, 2010
1 parent b92c572 commit 6b34f9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-omap2/pm-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ int omap2_pm_debug;
regs[reg_count++].val = \
__raw_readl(OMAP2_L4_IO_ADDRESS(0x480fe000 + (off)))

static int __init pm_dbg_init(void);

void omap2_pm_dump(int mode, int resume, unsigned int us)
{
struct reg {
Expand Down Expand Up @@ -167,6 +165,8 @@ struct dentry *pm_dbg_dir;

static int pm_dbg_init_done;

static int __init pm_dbg_init(void);

enum {
DEBUG_FILE_COUNTERS = 0,
DEBUG_FILE_TIMERS,
Expand Down

0 comments on commit 6b34f9d

Please sign in to comment.