diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-07-31 03:48:29 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-04 02:06:13 -0400 |
commit | df47cd096c8f54a5242e3a2ffb4525c804567eda (patch) | |
tree | 711da9d7eef8552548bfb71f4a253604d9745cd0 /arch/sh/boards/mach-se/7724 | |
parent | 442c37534c6a46d8ed27144fb09818833edbd049 (diff) |
sh: Runtime PM pdev hwblk - Solution Engine 7724
Add hwblk_id to Solution Engine 7724 board specific
on-chip sh7724 platform devices.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-se/7724')
-rw-r--r-- | arch/sh/boards/mach-se/7724/setup.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index 4fb7e48e2843..8de5ebc36b67 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c | |||
@@ -174,6 +174,9 @@ static struct platform_device lcdc_device = { | |||
174 | .dev = { | 174 | .dev = { |
175 | .platform_data = &lcdc_info, | 175 | .platform_data = &lcdc_info, |
176 | }, | 176 | }, |
177 | .archdata = { | ||
178 | .hwblk_id = HWBLK_LCDC, | ||
179 | }, | ||
177 | }; | 180 | }; |
178 | 181 | ||
179 | /* CEU0 */ | 182 | /* CEU0 */ |
@@ -205,6 +208,9 @@ static struct platform_device ceu0_device = { | |||
205 | .dev = { | 208 | .dev = { |
206 | .platform_data = &sh_mobile_ceu0_info, | 209 | .platform_data = &sh_mobile_ceu0_info, |
207 | }, | 210 | }, |
211 | .archdata = { | ||
212 | .hwblk_id = HWBLK_CEU0, | ||
213 | }, | ||
208 | }; | 214 | }; |
209 | 215 | ||
210 | /* CEU1 */ | 216 | /* CEU1 */ |
@@ -236,6 +242,9 @@ static struct platform_device ceu1_device = { | |||
236 | .dev = { | 242 | .dev = { |
237 | .platform_data = &sh_mobile_ceu1_info, | 243 | .platform_data = &sh_mobile_ceu1_info, |
238 | }, | 244 | }, |
245 | .archdata = { | ||
246 | .hwblk_id = HWBLK_CEU1, | ||
247 | }, | ||
239 | }; | 248 | }; |
240 | 249 | ||
241 | /* KEYSC */ | 250 | /* KEYSC */ |
@@ -273,6 +282,9 @@ static struct platform_device keysc_device = { | |||
273 | .dev = { | 282 | .dev = { |
274 | .platform_data = &keysc_info, | 283 | .platform_data = &keysc_info, |
275 | }, | 284 | }, |
285 | .archdata = { | ||
286 | .hwblk_id = HWBLK_KEYSC, | ||
287 | }, | ||
276 | }; | 288 | }; |
277 | 289 | ||
278 | /* SH Eth */ | 290 | /* SH Eth */ |
@@ -301,6 +313,9 @@ static struct platform_device sh_eth_device = { | |||
301 | }, | 313 | }, |
302 | .num_resources = ARRAY_SIZE(sh_eth_resources), | 314 | .num_resources = ARRAY_SIZE(sh_eth_resources), |
303 | .resource = sh_eth_resources, | 315 | .resource = sh_eth_resources, |
316 | .archdata = { | ||
317 | .hwblk_id = HWBLK_ETHER, | ||
318 | }, | ||
304 | }; | 319 | }; |
305 | 320 | ||
306 | static struct r8a66597_platdata sh7724_usb0_host_data = { | 321 | static struct r8a66597_platdata sh7724_usb0_host_data = { |
@@ -330,6 +345,9 @@ static struct platform_device sh7724_usb0_host_device = { | |||
330 | }, | 345 | }, |
331 | .num_resources = ARRAY_SIZE(sh7724_usb0_host_resources), | 346 | .num_resources = ARRAY_SIZE(sh7724_usb0_host_resources), |
332 | .resource = sh7724_usb0_host_resources, | 347 | .resource = sh7724_usb0_host_resources, |
348 | .archdata = { | ||
349 | .hwblk_id = HWBLK_USB0, | ||
350 | }, | ||
333 | }; | 351 | }; |
334 | 352 | ||
335 | static struct platform_device *ms7724se_devices[] __initdata = { | 353 | static struct platform_device *ms7724se_devices[] __initdata = { |