[media] au0828: remove forced dependency of VIDEO_AU0828 on VIDEO_V4L2
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 4 Dec 2012 14:30:00 +0000 (11:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Dec 2012 16:31:26 +0000 (14:31 -0200)
commit8a4e786660f512b029b56d94d1b8f0201e67aab3
treef7d2f1d9ec023a20773cbb28e8e572946892774c
parentc70ffd5968476ffe9fe2a8bfdc88956ecef92d2a
[media] au0828: remove forced dependency of VIDEO_AU0828 on VIDEO_V4L2

This patch removes the dependendency of VIDEO_AU0828 on VIDEO_V4L2 by
creating a new Kconfig option, VIDEO_AU0828_V4L2, which enables analog
video capture support and depends on VIDEO_V4L2 itself.
With VIDEO_AU0828_V4L2 disabled, the driver will only support digital
television and will not depend on the v4l2-core. With VIDEO_AU0828_V4L2
enabled, the driver will be built with the analog v4l2 support included.
By default, the VIDEO_AU0828_V4L2 option will be set to Y, so as to
preserve the original behavior.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/Kconfig
drivers/media/usb/au0828/Kconfig
drivers/media/usb/au0828/Makefile
drivers/media/usb/au0828/au0828-cards.c
drivers/media/usb/au0828/au0828-core.c
drivers/media/usb/au0828/au0828-i2c.c
drivers/media/usb/au0828/au0828.h