diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2011-02-24 10:46:51 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-24 22:02:33 +0100 |
commit | 8b1906f12a60d377b11d8a3dd256ce0a0ef6c614 (patch) | |
tree | 8d7d2c44dcfec87fb1c096570f54ddd94a3126a5 /arch/arm/plat-omap/include | |
parent | OMAP4: hwmod: Naming of address space (diff) | |
download | linux-8b1906f12a60d377b11d8a3dd256ce0a0ef6c614.tar.xz linux-8b1906f12a60d377b11d8a3dd256ce0a0ef6c614.zip |
OMAP3: hwmod: add dev_attr for McBSP sidetone
Since the sidetone block is tightly coupled to the mcbsp, sidetone information
is directly added to mcbsp2 & 3 hwmod dev_attr.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r-- | arch/arm/plat-omap/include/plat/mcbsp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/mcbsp.h b/arch/arm/plat-omap/include/plat/mcbsp.h index afcbb7bb0165..1fe06372c9ce 100644 --- a/arch/arm/plat-omap/include/plat/mcbsp.h +++ b/arch/arm/plat-omap/include/plat/mcbsp.h @@ -475,6 +475,15 @@ struct omap_mcbsp { #endif void *reg_cache; }; + +/** + * omap_mcbsp_dev_attr - OMAP McBSP device attributes for omap_hwmod + * @sidetone: name of the sidetone device + */ +struct omap_mcbsp_dev_attr { + const char *sidetone; +}; + extern struct omap_mcbsp **mcbsp_ptr; extern int omap_mcbsp_count, omap_mcbsp_cache_size; |