V4L/DVB (9885): drivers/media Kconfig's: fix bugzilla #12204
commit8b21c1e90e633aee3363e3d87e1a0b829bdb420e
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Dec 2008 22:39:03 +0000 (14 19:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Dec 2008 18:43:59 +0000 (16 16:43 -0200)
tree18a5250dafd323c417eac95918fd49b724c6555a
parentf86d4a9173e47050de9f88faa4aaf70a718791c5
V4L/DVB (9885): drivers/media Kconfig's: fix bugzilla #12204

When the tuner modules were moved to common/tuners, a separate customize
option were added for tuners. However, the automatic selection of the
tuners were still using the older option.

This causes that the automatic selection to fail, if DVB_FE_CUSTOMISE is
selected. Also, since those tuners are now under MEDIA_TUNER_CUSTOMIZE
menu, if you unset MEDIA_TUNER_CUSTOMIZE, you can't manually select the
tuners.

This patch fixes this error by replacing DVB_FE_CUSTOMISE by
MEDIA_TUNER_CUSTOMIZE on all places were a tuner is selected.

The patch were generated by this small script:

for i in `find drivers/media -name Kconfig`; do
  cat $i|perl -ne 's/(MEDIA_TUNER.*)DVB_FE_CUSTOMISE/\1MEDIA_TUNER_CUSTOMIZE/; print $_' >a
  mv a $i
done

Also, manually reordered the tuner entries.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/b2c2/Kconfig
drivers/media/dvb/bt8xx/Kconfig
drivers/media/dvb/dvb-usb/Kconfig
drivers/media/dvb/ttpci/Kconfig
drivers/media/video/cx18/Kconfig
drivers/media/video/cx23885/Kconfig
drivers/media/video/cx88/Kconfig
drivers/media/video/pvrusb2/Kconfig
drivers/media/video/saa7134/Kconfig