* [PATCH 01/09] sh: Runtime PM pdev hwblk - header change
@ 2009-07-31 7:47 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2009-07-31 7:47 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@igel.co.jp>
Add a hwblk_id member to struct pdev_archdata. This member
should be used to point out on-chip hardware block id.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
arch/sh/include/asm/device.h | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
--- 0001/arch/sh/include/asm/device.h
+++ work/arch/sh/include/asm/device.h 2009-07-30 15:00:23.000000000 +0900
@@ -3,7 +3,9 @@
*
* This file is released under the GPLv2
*/
-#include <asm-generic/device.h>
+
+struct dev_archdata {
+};
struct platform_device;
/* allocate contiguous memory chunk and fill in struct resource */
@@ -12,3 +14,8 @@ int platform_resource_setup_memory(struc
void plat_early_device_setup(void);
+struct pdev_archdata {
+#ifdef CONFIG_ARCH_SHMOBILE
+ int hwblk_id;
+#endif
+};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-31 7:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-31 7:47 [PATCH 01/09] sh: Runtime PM pdev hwblk - header change Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox