Skip to contentSkip to conversation

ARM: platform_device: pdev_archdata: add omap_device pointer

PATCH New Kevin Hilman 1 participant 2 messages Aug 2, 2011 – Sep 6, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: platform_device: pdev_archdata: add omap_device pointer

Add omap_device pointer to the ARM-specific arch data in the platform_device. This will be used to attach OMAP-specific device-data to the platform device with device lifetime.

---
Applies to v3.0

 arch/arm/include/asm/device.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/include/asm/device.h +5 -0
index 9f390ce..b5c9f5b 100644
@@ -12,7 +12,12 @@ struct dev_archdata {
 #endif
 };
 
+struct omap_device;
+
 struct pdev_archdata {
+#ifdef CONFIG_ARCH_OMAP
+	struct omap_device *od;
+#endif
 };
 
 #endif
Signature · 1 line
1.7.6
#1 lore raw

PATCH 1/1 ARM: platform_device: pdev_archdata: add omap_device pointer

Russell,

Quoted 7 lines · Kevin Hilman

Add omap_device pointer to the ARM-specific arch data in the platform_device. This will be used to attach OMAP-specific device-data to the platform device with device lifetime.

This patch has been accepted to the patch system as patch 7082/1

http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7082/1

Kevin