Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77567
b: refs/heads/master
c: f79299c
h: refs/heads/master
i:
  77565: e28d547
  77563: 7e15279
  77559: d9477c6
  77551: 8a88a15
  77535: 72e7d58
  77503: 5a9cc99
  77439: 52a63dd
  77311: 543be86
v: v3
  • Loading branch information
eric miao authored and Russell King committed Jan 26, 2008
1 parent 216445f commit 29a7615
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 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: 8785a8fbd5a1624dbabd7c782524450e902b722e
refs/heads/master: f79299ca85f6f8c8817bc38494f7caa0a7043c3b
6 changes: 4 additions & 2 deletions trunk/arch/arm/mach-pxa/pxa25x.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ static void __init pxa25x_init_pm(void)
{
pxa_cpu_pm_fns = &pxa25x_cpu_pm_fns;
}
#else
static inline void pxa25x_init_pm(void) {}
#endif

/* PXA25x: supports wakeup from GPIO0..GPIO15 and RTC alarm
Expand Down Expand Up @@ -310,9 +312,9 @@ static int __init pxa25x_init(void)

if ((ret = pxa_init_dma(16)))
return ret;
#ifdef CONFIG_PM

pxa25x_init_pm();
#endif

ret = platform_add_devices(pxa25x_devices,
ARRAY_SIZE(pxa25x_devices));
}
Expand Down
6 changes: 4 additions & 2 deletions trunk/arch/arm/mach-pxa/pxa27x.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ static void __init pxa27x_init_pm(void)
{
pxa_cpu_pm_fns = &pxa27x_cpu_pm_fns;
}
#else
static inline void pxa27x_init_pm(void) {}
#endif

/* PXA27x: Various gpios can issue wakeup events. This logic only
Expand Down Expand Up @@ -415,9 +417,9 @@ static int __init pxa27x_init(void)

if ((ret = pxa_init_dma(32)))
return ret;
#ifdef CONFIG_PM

pxa27x_init_pm();
#endif

ret = platform_add_devices(devices, ARRAY_SIZE(devices));
}
return ret;
Expand Down

0 comments on commit 29a7615

Please sign in to comment.