diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-31 09:23:04 -0400 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2009-04-02 13:55:20 -0700 |
commit | bb70446264cc380f4167c9bea4df2c12ad564541 (patch) | |
tree | 337522249e3ae72249fd450a6b2c0c1ef5c4e91d /drivers/net/irda/irda-usb.h | |
parent | 5d8a29ae73aa9a0dac7aa7ec970bbe2d8f45b189 (diff) |
V4L: v4l2-common: remove incorrect MODULE test
upstream commit: d64260d58865004c6354e024da3450fdd607ea07
v4l2-common doesn't have to be a module for it to call request_module().
Just remove that test.
Without this patch loading ivtv as a module while v4l2-common is compiled
into the kernel will cause a delayed load of the i2c modules that ivtv
needs since request_module is never called directly.
While it is nice to see the delayed load in action, it is not so nice in
that ivtv fails to do a lot of necessary i2c initializations and will oops
later on with a division-by-zero.
Thanks to Mark Lord for reporting this and helping me figure out what was
wrong.
Thanks-to: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Thanks-to: Mark Lord <lkml@rtr.ca>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'drivers/net/irda/irda-usb.h')
0 files changed, 0 insertions, 0 deletions