diff options
author | Mike Isely <isely@pobox.com> | 2006-04-20 00:20:40 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-04-20 00:20:40 -0500 |
commit | d678f2eed5e7c30fc3976ef3e8293221ff2c0bea (patch) | |
tree | ccb60880168178b0a85defd26e0c695d72e97b9c /linux/drivers/media/video/pvrusb2/pvrusb2-main.c | |
parent | 8bd600f2ff270e5c65b368fd240b41bb33ea57d2 (diff) | |
download | mediapointer-dvb-s2-d678f2eed5e7c30fc3976ef3e8293221ff2c0bea.tar.gz mediapointer-dvb-s2-d678f2eed5e7c30fc3976ef3e8293221ff2c0bea.tar.bz2 |
Change pvrusb2 module request behavior to be more conservative
From: Mike Isely <isely@pobox.com>
Previously when the pvrusb2 driver loaded, it immediately did a
request_module() on all possible I2C support modules it might need.
But that is overkill, since the actual modules needed is a subset
depending on the model type. This change delays module request until
the hardware shows up, and then it only requests the modules that make
sense for the specific hardware.
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-main.c')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-main.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-main.c b/linux/drivers/media/video/pvrusb2/pvrusb2-main.c index 988f32ad4..245f7a36d 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-main.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-main.c @@ -134,16 +134,6 @@ static int __init pvr_init(void) pvr2_trace(PVR2_TRACE_INIT,"pvr_init"); - /* Auto-load various support modules (with which we may - indirectly interact) */ - request_module("msp3400"); - request_module("cx25840"); - request_module("saa7115"); - request_module("tuner"); - request_module("tveeprom"); - request_module("tda9887"); - request_module("wm8775"); - #ifdef CONFIG_VIDEO_PVRUSB2_SYSFS class_ptr = pvr2_sysfs_class_create(); #endif /* CONFIG_VIDEO_PVRUSB2_SYSFS */ |