Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184703
b: refs/heads/master
c: b2fa3b7
h: refs/heads/master
i:
  184701: 2db8442
  184699: dadf54d
  184695: f2cb328
  184687: ec5022a
  184671: eb69b15
  184639: 15577a5
  184575: 357d1ea
v: v3
  • Loading branch information
Felipe Balbi authored and Tony Lindgren committed Feb 15, 2010
1 parent 56bd836 commit abdd891
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0cd7e1cc76c38b29ec459294750660855fa11ca8
refs/heads/master: b2fa3b7c602258c1ab9d1cb66c30d72e9085c762
6 changes: 4 additions & 2 deletions trunk/arch/arm/mach-omap2/gpmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,9 +552,10 @@ void __init gpmc_init(void)
#ifdef CONFIG_ARCH_OMAP3
static struct omap3_gpmc_regs gpmc_context;

void omap3_gpmc_save_context()
void omap3_gpmc_save_context(void)
{
int i;

gpmc_context.sysconfig = gpmc_read_reg(GPMC_SYSCONFIG);
gpmc_context.irqenable = gpmc_read_reg(GPMC_IRQENABLE);
gpmc_context.timeout_ctrl = gpmc_read_reg(GPMC_TIMEOUT_CONTROL);
Expand Down Expand Up @@ -583,9 +584,10 @@ void omap3_gpmc_save_context()
}
}

void omap3_gpmc_restore_context()
void omap3_gpmc_restore_context(void)
{
int i;

gpmc_write_reg(GPMC_SYSCONFIG, gpmc_context.sysconfig);
gpmc_write_reg(GPMC_IRQENABLE, gpmc_context.irqenable);
gpmc_write_reg(GPMC_TIMEOUT_CONTROL, gpmc_context.timeout_ctrl);
Expand Down

0 comments on commit abdd891

Please sign in to comment.