V4L/DVB (5232): Gl861: correct oops when loading module
authorJan Nijs <jan.nijs@scarlet.be>
Sat, 7 Oct 2006 04:25:53 +0000 (01:25 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:35:28 +0000 (13:35 -0200)
commitb3b2b8b5746cfe5af181dc2ce7a0912b5b2c598a
tree1e100ba5b1c0cd093c18619ac6b3ad407842931a
parent1f78867bc8a05b6c0bc3f2cb1c5915c10e92369e
V4L/DVB (5232): Gl861: correct oops when loading module

This patch moves the DVB_USB_IS_AN_I2C_ADAPTER flag from the adapter
properties to the device properties.
Without this patch I get an OOPS when the gl861 driver tries to
access any registers.

Signed-off-by: Jan Nijs <jan.nijs@scarlet.be>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/gl861.c