Each driver is defining it's own ID. Defining it
on the generic header will allow to pass those
via platform_data.

Signed-off-by: Felipe Balbi <[email protected]>
---
 arch/arm/plat-omap/include/plat/cbus.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-omap/include/plat/cbus.h 
b/arch/arm/plat-omap/include/plat/cbus.h
index 1f0e8be..e7ace57 100644
--- a/arch/arm/plat-omap/include/plat/cbus.h
+++ b/arch/arm/plat-omap/include/plat/cbus.h
@@ -22,6 +22,9 @@
 #ifndef __PLAT_CBUS_H
 #define __PLAT_CBUS_H
 
+#define CBUS_RETU_DEVICE_ID    0x01
+#define CBUS_TAHVO_DEVICE_ID   0x02
+
 struct cbus_host_platform_data {
        int     dat_gpio;
        int     clk_gpio;
-- 
1.7.4.rc2

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to