Skip to content

Commit

Permalink
OMAP2/3: PM: make PM __init calls static
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
  • Loading branch information
Kevin Hilman committed Aug 5, 2009
1 parent ed680c4 commit 7cc515f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-omap2/pm.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
#ifndef __ARCH_ARM_MACH_OMAP2_PM_H
#define __ARCH_ARM_MACH_OMAP2_PM_H

extern int omap2_pm_init(void);
extern int omap3_pm_init(void);

#ifdef CONFIG_PM_DEBUG
extern void omap2_pm_dump(int mode, int resume, unsigned int us);
extern int omap2_pm_debug;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/pm24xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ static void __init prcm_setup_regs(void)
WKUP_MOD, PM_WKEN);
}

int __init omap2_pm_init(void)
static int __init omap2_pm_init(void)
{
u32 l;

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/pm34xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ static int __init clkdms_setup(struct clockdomain *clkdm)
return 0;
}

int __init omap3_pm_init(void)
static int __init omap3_pm_init(void)
{
struct power_state *pwrst, *tmp;
int ret;
Expand Down

0 comments on commit 7cc515f

Please sign in to comment.