Skip to contentSkip to conversation

sh: Runtime PM pdev hwblk - header change

PATCH In review Magnus Damm 1 participant 1 message Jul 31, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/9 sh: Runtime PM pdev hwblk - header change

From: Magnus Damm <[email protected]>

Add a hwblk_id member to struct pdev_archdata. This member should be used to point out on-chip hardware block id.

---

 arch/sh/include/asm/device.h |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
arch/sh/include/asm/device.h +8 -1
@@ -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
+};