aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Baltieri <fabio.baltieri@linaro.org>2013-05-24 06:39:20 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-25 15:58:35 -0400
commitf82030f978ae21ee790a90610ff21ce72667958e (patch)
treea3fc632e56eee09ee44d02b705d61fed4eb714e8
parent06b9671ee69d48a1436077805903e3d9c1ed9662 (diff)
ASoC: ux500: Drop redundant msp id enumerations
Ux500 has two equivalent enum for device id, one in platform_data and one in a local header. Fix this by dropping the local one. Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/ux500/ux500_msp_i2s.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/sound/soc/ux500/ux500_msp_i2s.h b/sound/soc/ux500/ux500_msp_i2s.h
index d5e41763c9c7..189a3751993b 100644
--- a/sound/soc/ux500/ux500_msp_i2s.h
+++ b/sound/soc/ux500/ux500_msp_i2s.h
@@ -16,6 +16,7 @@
16#define UX500_MSP_I2S_H 16#define UX500_MSP_I2S_H
17 17
18#include <linux/platform_device.h> 18#include <linux/platform_device.h>
19#include <linux/platform_data/asoc-ux500-msp.h>
19 20
20#define MSP_INPUT_FREQ_APB 48000000 21#define MSP_INPUT_FREQ_APB 48000000
21 22
@@ -365,13 +366,6 @@ enum msp_protocol {
365 */ 366 */
366#define MAX_MSP_BACKUP_REGS 36 367#define MAX_MSP_BACKUP_REGS 36
367 368
368enum enum_i2s_controller {
369 MSP_0_I2S_CONTROLLER = 0,
370 MSP_1_I2S_CONTROLLER,
371 MSP_2_I2S_CONTROLLER,
372 MSP_3_I2S_CONTROLLER,
373};
374
375enum i2s_direction_t { 369enum i2s_direction_t {
376 MSP_DIR_TX = 0x01, 370 MSP_DIR_TX = 0x01,
377 MSP_DIR_RX = 0x02, 371 MSP_DIR_RX = 0x02,
@@ -475,7 +469,7 @@ struct ux500_msp_config {
475}; 469};
476 470
477struct ux500_msp { 471struct ux500_msp {
478 enum enum_i2s_controller id; 472 enum msp_i2s_id id;
479 void __iomem *registers; 473 void __iomem *registers;
480 struct device *dev; 474 struct device *dev;
481 struct stedma40_chan_cfg *dma_cfg_rx; 475 struct stedma40_chan_cfg *dma_cfg_rx;