V4L/DVB (13300): gspca - pac7302/pac7311: Separate the two subdrivers.
authorMarton Nemeth <nm127@freemail.hu>
Mon, 2 Nov 2009 11:13:21 +0000 (08:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:16 +0000 (18:41 -0200)
commit1408b8472910e894b290205b4baed5b14b8f45af
tree2b9f7c1043bd575bfb92757edcd571bf07a74724
parentcc409c0efb40a4c99cf023ec12ba7d67c67f666b
V4L/DVB (13300): gspca - pac7302/pac7311: Separate the two subdrivers.

All PAC7311 specific functions remain in pac7311.c. All PAC7302 specific
functions are moved to pac7302.c. The USB device table is also divided into
two parts. This makes it possible to remove the sensor specific decisions
from different functions and also remove sensor infromation from the USB
device table.

The common functions are just copied to both subdrivers. These common
functions can be separated later to a common file or helper module.

Signed-off-by: Marton Nemeth <nm127@freemail.hu>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/Kconfig
drivers/media/video/gspca/Makefile
drivers/media/video/gspca/pac7302.c [new file with mode: 0644]
drivers/media/video/gspca/pac7311.c