aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/msp3400-driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/msp3400-driver.c')
-rw-r--r--drivers/media/video/msp3400-driver.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/msp3400-driver.c b/drivers/media/video/msp3400-driver.c
index eece5fe46cbe..fbd85120c331 100644
--- a/drivers/media/video/msp3400-driver.c
+++ b/drivers/media/video/msp3400-driver.c
@@ -106,10 +106,8 @@ MODULE_PARM_DESC(dolby, "Activates Dolby processsing");
106 106
107/* Addresses to scan */ 107/* Addresses to scan */
108static unsigned short normal_i2c[] = { 0x80 >> 1, 0x88 >> 1, I2C_CLIENT_END }; 108static unsigned short normal_i2c[] = { 0x80 >> 1, 0x88 >> 1, I2C_CLIENT_END };
109
110I2C_CLIENT_INSMOD; 109I2C_CLIENT_INSMOD;
111 110
112
113/* ----------------------------------------------------------------------- */ 111/* ----------------------------------------------------------------------- */
114/* functions for talking to the MSP3400C Sound processor */ 112/* functions for talking to the MSP3400C Sound processor */
115 113
@@ -975,7 +973,6 @@ static int msp_attach(struct i2c_adapter *adapter, int address, int kind)
975 client->addr = address; 973 client->addr = address;
976 client->adapter = adapter; 974 client->adapter = adapter;
977 client->driver = &i2c_driver; 975 client->driver = &i2c_driver;
978 client->flags = I2C_CLIENT_ALLOW_USE;
979 snprintf(client->name, sizeof(client->name) - 1, "msp3400"); 976 snprintf(client->name, sizeof(client->name) - 1, "msp3400");
980 977
981 if (msp_reset(client) == -1) { 978 if (msp_reset(client) == -1) {
@@ -1119,7 +1116,6 @@ static struct i2c_driver i2c_driver = {
1119 .suspend = msp_suspend, 1116 .suspend = msp_suspend,
1120 .resume = msp_resume, 1117 .resume = msp_resume,
1121 }, 1118 },
1122 .owner = THIS_MODULE,
1123}; 1119};
1124 1120
1125static int __init msp3400_init_module(void) 1121static int __init msp3400_init_module(void)