aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2018-02-12 20:32:41 -0500
committerTony Lindgren <tony@atomide.com>2018-02-14 13:28:13 -0500
commit0693036ca800ab471e8f28caeb3a9ac4d77af810 (patch)
treee3321fc9966864a9d5f6b7899fc1b88ead8b9a4b /include/linux/platform_data
parent1cddc364584e76c16354d34326c671aac2a23e4f (diff)
ARM: OMAP2+: Cleanup omap_mcbsp_dev_attr and other legacy data
The omap_mcbsp_dev_attr data was used to supply instance-specific data for legacy non-DT devices. The legacy McBSP device support including the usage of the hwmod class revision data has been dropped in commit 48f6693790aa ("ARM: OMAP2+: Remove unused legacy code for McBSP") and this data is therefore no longer needed. So, cleanup the structure and all the associated data in various hwmod data files. Cc: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/asoc-ti-mcbsp.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/platform_data/asoc-ti-mcbsp.h b/include/linux/platform_data/asoc-ti-mcbsp.h
index e684543254f3..e319d0a2ec82 100644
--- a/include/linux/platform_data/asoc-ti-mcbsp.h
+++ b/include/linux/platform_data/asoc-ti-mcbsp.h
@@ -25,10 +25,6 @@
25#include <linux/spinlock.h> 25#include <linux/spinlock.h>
26#include <linux/clk.h> 26#include <linux/clk.h>
27 27
28#define MCBSP_CONFIG_TYPE2 0x2
29#define MCBSP_CONFIG_TYPE3 0x3
30#define MCBSP_CONFIG_TYPE4 0x4
31
32/* Platform specific configuration */ 28/* Platform specific configuration */
33struct omap_mcbsp_ops { 29struct omap_mcbsp_ops {
34 void (*request)(unsigned int); 30 void (*request)(unsigned int);
@@ -47,14 +43,6 @@ struct omap_mcbsp_platform_data {
47 int (*force_ick_on)(struct clk *clk, bool force_on); 43 int (*force_ick_on)(struct clk *clk, bool force_on);
48}; 44};
49 45
50/**
51 * omap_mcbsp_dev_attr - OMAP McBSP device attributes for omap_hwmod
52 * @sidetone: name of the sidetone device
53 */
54struct omap_mcbsp_dev_attr {
55 const char *sidetone;
56};
57
58void omap3_mcbsp_init_pdata_callback(struct omap_mcbsp_platform_data *pdata); 46void omap3_mcbsp_init_pdata_callback(struct omap_mcbsp_platform_data *pdata);
59 47
60#endif 48#endif