diff options
author | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-21 02:54:23 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-21 02:54:23 -0500 |
commit | eb2112fbcf2d97eda221790bd53cb3a2cdf58c95 (patch) | |
tree | 1343d534a374653d26fecfb9657c9e3d3d05dbc6 /arch/arm/mach-s3c2410/s3c2410-pm.c | |
parent | f238085415c56618e042252894f2fcc971add645 (diff) | |
parent | 618b20a13e9ef4ed1d16f1ab94ccce8e4f55f9d9 (diff) |
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (29 commits)
[ARM] 4062/1: S3C24XX: Anubis and Osiris shuld have CONFIG_PM_SIMTEC
[ARM] 4060/1: update several ARM defconfigs
[ARM] 4061/1: xsc3: change of maintainer
[ARM] 4059/1: VR1000: fix LED3's platform device number
[ARM] 4022/1: iop13xx: generic irq fixups
[ARM] 4015/1: s3c2410 cpu ifdefs
[ARM] 4057/1: ixp23xx: unconditionally enable hardware coherency
[ARM] 4056/1: iop13xx: fix resource.end off-by-one in flash setup
[ARM] 4055/1: iop13xx: fix phys_io/io_pg_offst for iq81340mc/sc
[ARM] 4054/1: ep93xx: add HWCAP_CRUNCH
[ARM] 4052/1: S3C24XX: Fix PM in arch/arm/mach-s3c2410/Kconfig
[ARM] Fix warnings from asm/system.h
[ARM] 4051/1: S3C24XX: clean includes in S3C2440 and S3C2442 support
[ARM] 4050/1: S3C24XX: remove old changelogs in arch/arm/mach-s3c2410
[ARM] 4049/1: S3C24XX: fix sparse warning due to upf_t in regs-serial.h
[ARM] 4048/1: S3C24XX: make s3c2410_pm_resume() static
[ARM] 4046/1: S3C24XX: fix sparse errors arch/arm/mach-s3c2410
[ARM] 4045/1: S3C24XX: remove old VA for non-shared areas
[ARM] 4044/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2442-clock.c
[ARM] 4043/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2440-clock.c
...
Diffstat (limited to 'arch/arm/mach-s3c2410/s3c2410-pm.c')
-rw-r--r-- | arch/arm/mach-s3c2410/s3c2410-pm.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/s3c2410-pm.c b/arch/arm/mach-s3c2410/s3c2410-pm.c index 77c6814c0f05..8bb6e5e21f59 100644 --- a/arch/arm/mach-s3c2410/s3c2410-pm.c +++ b/arch/arm/mach-s3c2410/s3c2410-pm.c | |||
@@ -87,7 +87,7 @@ static void s3c2410_pm_prepare(void) | |||
87 | 87 | ||
88 | } | 88 | } |
89 | 89 | ||
90 | int s3c2410_pm_resume(struct sys_device *dev) | 90 | static int s3c2410_pm_resume(struct sys_device *dev) |
91 | { | 91 | { |
92 | unsigned long tmp; | 92 | unsigned long tmp; |
93 | 93 | ||
@@ -111,6 +111,7 @@ static int s3c2410_pm_add(struct sys_device *dev) | |||
111 | return 0; | 111 | return 0; |
112 | } | 112 | } |
113 | 113 | ||
114 | #if defined(CONFIG_CPU_S3C2410) | ||
114 | static struct sysdev_driver s3c2410_pm_driver = { | 115 | static struct sysdev_driver s3c2410_pm_driver = { |
115 | .add = s3c2410_pm_add, | 116 | .add = s3c2410_pm_add, |
116 | .resume = s3c2410_pm_resume, | 117 | .resume = s3c2410_pm_resume, |
@@ -124,7 +125,9 @@ static int __init s3c2410_pm_drvinit(void) | |||
124 | } | 125 | } |
125 | 126 | ||
126 | arch_initcall(s3c2410_pm_drvinit); | 127 | arch_initcall(s3c2410_pm_drvinit); |
128 | #endif | ||
127 | 129 | ||
130 | #if defined(CONFIG_CPU_S3C2440) | ||
128 | static struct sysdev_driver s3c2440_pm_driver = { | 131 | static struct sysdev_driver s3c2440_pm_driver = { |
129 | .add = s3c2410_pm_add, | 132 | .add = s3c2410_pm_add, |
130 | .resume = s3c2410_pm_resume, | 133 | .resume = s3c2410_pm_resume, |
@@ -136,7 +139,9 @@ static int __init s3c2440_pm_drvinit(void) | |||
136 | } | 139 | } |
137 | 140 | ||
138 | arch_initcall(s3c2440_pm_drvinit); | 141 | arch_initcall(s3c2440_pm_drvinit); |
142 | #endif | ||
139 | 143 | ||
144 | #if defined(CONFIG_CPU_S3C2442) | ||
140 | static struct sysdev_driver s3c2442_pm_driver = { | 145 | static struct sysdev_driver s3c2442_pm_driver = { |
141 | .add = s3c2410_pm_add, | 146 | .add = s3c2410_pm_add, |
142 | .resume = s3c2410_pm_resume, | 147 | .resume = s3c2410_pm_resume, |
@@ -148,3 +153,4 @@ static int __init s3c2442_pm_drvinit(void) | |||
148 | } | 153 | } |
149 | 154 | ||
150 | arch_initcall(s3c2442_pm_drvinit); | 155 | arch_initcall(s3c2442_pm_drvinit); |
156 | #endif | ||