• Mauro Carvalho Chehab's avatar
    V4L/DVB (9885): drivers/media Kconfig's: fix bugzilla #12204 · 8b21c1e9
    Mauro Carvalho Chehab authored
    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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    8b21c1e9
Kconfig 1.54 KB