mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-16 11:35:19 +00:00
[media] radio-timb: Simplified platform data
This patch simplifies the platform data slightly, by removing unused elements. Signed-off-by: Richard Röjfors <richard.rojfors@pelagicore.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
8c528d5e51
commit
9cd49719fd
2 changed files with 4 additions and 13 deletions
|
@ -287,12 +287,8 @@ static __devinitdata struct i2c_board_info timberdale_saa7706_i2c_board_info = {
|
||||||
static __devinitdata struct timb_radio_platform_data
|
static __devinitdata struct timb_radio_platform_data
|
||||||
timberdale_radio_platform_data = {
|
timberdale_radio_platform_data = {
|
||||||
.i2c_adapter = 0,
|
.i2c_adapter = 0,
|
||||||
.tuner = {
|
.tuner = &timberdale_tef6868_i2c_board_info,
|
||||||
.info = &timberdale_tef6868_i2c_board_info
|
.dsp = &timberdale_saa7706_i2c_board_info
|
||||||
},
|
|
||||||
.dsp = {
|
|
||||||
.info = &timberdale_saa7706_i2c_board_info
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const __devinitconst struct resource timberdale_video_resources[] = {
|
static const __devinitconst struct resource timberdale_video_resources[] = {
|
||||||
|
|
|
@ -23,13 +23,8 @@
|
||||||
|
|
||||||
struct timb_radio_platform_data {
|
struct timb_radio_platform_data {
|
||||||
int i2c_adapter; /* I2C adapter where the tuner and dsp are attached */
|
int i2c_adapter; /* I2C adapter where the tuner and dsp are attached */
|
||||||
struct {
|
struct i2c_board_info *tuner;
|
||||||
struct i2c_board_info *info;
|
struct i2c_board_info *dsp;
|
||||||
} tuner;
|
|
||||||
struct {
|
|
||||||
const char *module_name;
|
|
||||||
struct i2c_board_info *info;
|
|
||||||
} dsp;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue