diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-09-24 09:05:13 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-22 21:54:03 -0200 |
commit | 959b606922e080a6a236211ff9f7f74150a73028 (patch) | |
tree | 0354818a73492c29f5f899fccb25802937421d19 /drivers/media/video/davinci | |
parent | 2001f99947017e378e55943a350c67a8fca9e9b6 (diff) | |
download | linux-stable-959b606922e080a6a236211ff9f7f74150a73028.tar.gz linux-stable-959b606922e080a6a236211ff9f7f74150a73028.tar.bz2 linux-stable-959b606922e080a6a236211ff9f7f74150a73028.zip |
[media] vpfe_capture: Don't use module names to load I2C modules
With the v4l2_i2c_new_subdev* functions now supporting loading modules
based on modaliases, don't use the module names hardcoded in platform
data by passing a NULL module name to those functions.
All corresponding I2C modules have been checked, and all of them include
a module aliases table with names corresponding to what the vpfe_capture
platform data uses.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/davinci')
-rw-r--r-- | drivers/media/video/davinci/vpfe_capture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/davinci/vpfe_capture.c b/drivers/media/video/davinci/vpfe_capture.c index cd068de9fc20..d8e38cc4ec40 100644 --- a/drivers/media/video/davinci/vpfe_capture.c +++ b/drivers/media/video/davinci/vpfe_capture.c @@ -1986,7 +1986,7 @@ static __init int vpfe_probe(struct platform_device *pdev) vpfe_dev->sd[i] = v4l2_i2c_new_subdev_board(&vpfe_dev->v4l2_dev, i2c_adap, - sdinfo->name, + NULL, &sdinfo->board_info, NULL); if (vpfe_dev->sd[i]) { |