diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-05-11 14:37:06 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-05-11 14:37:06 -0400 |
commit | ae429083efe996ca2c569c44fd6fea440676dc33 (patch) | |
tree | 85bc4b8d0e0ac034a751b652210f908ec33cc24f /drivers/media/video/tlv320aic23b.c | |
parent | 60b129d7bfa3e20450816983bd52c49bb0bc1c21 (diff) |
i2c: Convert some more new-style drivers to use module aliasing
Update 3 more new-style i2c drivers to use standard module aliasing
instead of the old driver_name/type driver matching scheme. These
video drivers aren't used yet so converting them is trivial.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/media/video/tlv320aic23b.c')
-rw-r--r-- | drivers/media/video/tlv320aic23b.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/tlv320aic23b.c b/drivers/media/video/tlv320aic23b.c index f1db54202dea..28ab9f9d760a 100644 --- a/drivers/media/video/tlv320aic23b.c +++ b/drivers/media/video/tlv320aic23b.c | |||
@@ -168,6 +168,11 @@ static int tlv320aic23b_remove(struct i2c_client *client) | |||
168 | 168 | ||
169 | /* ----------------------------------------------------------------------- */ | 169 | /* ----------------------------------------------------------------------- */ |
170 | 170 | ||
171 | static const struct i2c_device_id tlv320aic23b_id[] = { | ||
172 | { "tlv320aic23b", 0 }, | ||
173 | { } | ||
174 | }; | ||
175 | MODULE_DEVICE_TABLE(i2c, tlv320aic23b_id); | ||
171 | 176 | ||
172 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { | 177 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { |
173 | .name = "tlv320aic23b", | 178 | .name = "tlv320aic23b", |
@@ -175,4 +180,5 @@ static struct v4l2_i2c_driver_data v4l2_i2c_data = { | |||
175 | .command = tlv320aic23b_command, | 180 | .command = tlv320aic23b_command, |
176 | .probe = tlv320aic23b_probe, | 181 | .probe = tlv320aic23b_probe, |
177 | .remove = tlv320aic23b_remove, | 182 | .remove = tlv320aic23b_remove, |
183 | .id_table = tlv320aic23b_id, | ||
178 | }; | 184 | }; |