Skip to content

Commit

Permalink
[ARM] 4272/1: Missing symbol h1940_pm_return fix
Browse files Browse the repository at this point in the history
Added missing ifdefs, to make kernel linkable without the PM support.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Krzysztof Helt authored and Russell King committed Mar 20, 2007
1 parent 9d5cf5a commit b1dfe1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-s3c2410/mach-h1940.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ static void __init h1940_map_io(void)

/* setup PM */

#ifdef CONFIG_PM_H1940
memcpy(phys_to_virt(H1940_SUSPEND_RESUMEAT), h1940_pm_return, 1024);
#endif
s3c2410_pm_init();
}

Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mach-s3c2440/mach-rx3715.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ static void __init rx3715_init_irq(void)

static void __init rx3715_init_machine(void)
{
#ifdef CONFIG_PM_H1940
memcpy(phys_to_virt(H1940_SUSPEND_RESUMEAT), h1940_pm_return, 1024);
#endif
s3c2410_pm_init();

s3c24xx_fb_set_platdata(&rx3715_lcdcfg);
Expand Down

0 comments on commit b1dfe1f

Please sign in to comment.