diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mvebu/board-t5325.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/mach-mvebu/board-t5325.c b/arch/arm/mach-mvebu/board-t5325.c index 65ace6db9f28..f2401b298218 100644 --- a/arch/arm/mach-mvebu/board-t5325.c +++ b/arch/arm/mach-mvebu/board-t5325.c | |||
@@ -11,10 +11,8 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
14 | #include <linux/i2c.h> | ||
15 | #include <linux/init.h> | 14 | #include <linux/init.h> |
16 | #include <linux/platform_device.h> | 15 | #include <linux/platform_device.h> |
17 | #include <sound/alc5623.h> | ||
18 | #include "board.h" | 16 | #include "board.h" |
19 | 17 | ||
20 | static struct platform_device hp_t5325_audio_device = { | 18 | static struct platform_device hp_t5325_audio_device = { |
@@ -22,20 +20,7 @@ static struct platform_device hp_t5325_audio_device = { | |||
22 | .id = -1, | 20 | .id = -1, |
23 | }; | 21 | }; |
24 | 22 | ||
25 | static struct alc5623_platform_data alc5621_data = { | ||
26 | .add_ctrl = 0x3700, | ||
27 | .jack_det_ctrl = 0x4810, | ||
28 | }; | ||
29 | |||
30 | static struct i2c_board_info i2c_board_info[] __initdata = { | ||
31 | { | ||
32 | I2C_BOARD_INFO("alc5621", 0x1a), | ||
33 | .platform_data = &alc5621_data, | ||
34 | }, | ||
35 | }; | ||
36 | |||
37 | void __init t5325_init(void) | 23 | void __init t5325_init(void) |
38 | { | 24 | { |
39 | i2c_register_board_info(0, i2c_board_info, ARRAY_SIZE(i2c_board_info)); | ||
40 | platform_device_register(&hp_t5325_audio_device); | 25 | platform_device_register(&hp_t5325_audio_device); |
41 | } | 26 | } |