diff options
Diffstat (limited to 'drivers/media/video/tvmixer.c')
-rw-r--r-- | drivers/media/video/tvmixer.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/video/tvmixer.c b/drivers/media/video/tvmixer.c index ce0da9c1a768..9e86caeb96a7 100644 --- a/drivers/media/video/tvmixer.c +++ b/drivers/media/video/tvmixer.c | |||
@@ -227,13 +227,9 @@ static int tvmixer_release(struct inode *inode, struct file *file) | |||
227 | } | 227 | } |
228 | 228 | ||
229 | static struct i2c_driver driver = { | 229 | static struct i2c_driver driver = { |
230 | #ifdef I2C_PEC | ||
231 | .driver = { | 230 | .driver = { |
232 | .name = "tv card mixer driver", | 231 | .name = "tvmixer", |
233 | }, | 232 | }, |
234 | #else | ||
235 | .name = "tv card mixer driver", | ||
236 | #endif | ||
237 | .id = I2C_DRIVERID_TVMIXER, | 233 | .id = I2C_DRIVERID_TVMIXER, |
238 | .detach_adapter = tvmixer_adapters, | 234 | .detach_adapter = tvmixer_adapters, |
239 | .attach_adapter = tvmixer_adapters, | 235 | .attach_adapter = tvmixer_adapters, |