* [PATCH] ARM: platform_device: pdev_archdata: add omap_device pointer
@ 2011-08-02 1:14 ` Kevin Hilman
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2011-08-02 1:14 UTC (permalink / raw)
To: linux-arm-kernel, Russell King; +Cc: linux-omap, Grant Likely
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.
Suggested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kevin Hilman <khilman@ti.com>
---
Applies to v3.0
arch/arm/include/asm/device.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h
index 9f390ce..b5c9f5b 100644
--- a/arch/arm/include/asm/device.h
+++ b/arch/arm/include/asm/device.h
@@ -12,7 +12,12 @@ struct dev_archdata {
#endif
};
+struct omap_device;
+
struct pdev_archdata {
+#ifdef CONFIG_ARCH_OMAP
+ struct omap_device *od;
+#endif
};
#endif
--
1.7.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ARM: platform_device: pdev_archdata: add omap_device pointer
@ 2011-08-02 1:14 ` Kevin Hilman
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2011-08-02 1:14 UTC (permalink / raw)
To: linux-arm-kernel
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.
Suggested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kevin Hilman <khilman@ti.com>
---
Applies to v3.0
arch/arm/include/asm/device.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h
index 9f390ce..b5c9f5b 100644
--- a/arch/arm/include/asm/device.h
+++ b/arch/arm/include/asm/device.h
@@ -12,7 +12,12 @@ struct dev_archdata {
#endif
};
+struct omap_device;
+
struct pdev_archdata {
+#ifdef CONFIG_ARCH_OMAP
+ struct omap_device *od;
+#endif
};
#endif
--
1.7.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: platform_device: pdev_archdata: add omap_device pointer
2011-08-02 1:14 ` Kevin Hilman
@ 2011-09-06 20:05 ` Kevin Hilman
-1 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2011-09-06 20:05 UTC (permalink / raw)
To: linux-arm-kernel, Russell King; +Cc: linux-omap, Grant Likely
Russell,
On 08/01/2011 06:14 PM, Kevin Hilman wrote:
> 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.
>
> Suggested-by: Russell King<rmk+kernel@arm.linux.org.uk>
> Cc: Grant Likely<grant.likely@secretlab.ca>
> Signed-off-by: Kevin Hilman<khilman@ti.com>
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: platform_device: pdev_archdata: add omap_device pointer
@ 2011-09-06 20:05 ` Kevin Hilman
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2011-09-06 20:05 UTC (permalink / raw)
To: linux-arm-kernel
Russell,
On 08/01/2011 06:14 PM, Kevin Hilman wrote:
> 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.
>
> Suggested-by: Russell King<rmk+kernel@arm.linux.org.uk>
> Cc: Grant Likely<grant.likely@secretlab.ca>
> Signed-off-by: Kevin Hilman<khilman@ti.com>
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-06 20:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-02 1:14 [PATCH] ARM: platform_device: pdev_archdata: add omap_device pointer Kevin Hilman
2011-08-02 1:14 ` Kevin Hilman
2011-09-06 20:05 ` Kevin Hilman
2011-09-06 20:05 ` Kevin Hilman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.