]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/usb/serial/Kconfig
USB: usbserial: fix mos7720 dependencies
[net-next-2.6.git] / drivers / usb / serial / Kconfig
index a0b2247eeaa119bea693fbfa6667f9a44aa6fc51..bd8aab0ef1cfc04c8aedbc302e20ab4f3aa005b4 100644 (file)
@@ -425,16 +425,15 @@ config USB_SERIAL_MOS7720
          To compile this driver as a module, choose M here: the
          module will be called mos7720.
 
-if USB_SERIAL_MOS7720
 config USB_SERIAL_MOS7715_PARPORT
        bool "Support for parallel port on the Moschip 7715"
+       depends on USB_SERIAL_MOS7720
+       depends on PARPORT=y || PARPORT=USB_SERIAL_MOS7720
        select PARPORT_NOT_PC
-       depends on PARPORT
        ---help---
        Say Y if you have a Moschip 7715 device and would like to use
        the parallel port it provides.  The port will register with
        the parport subsystem as a low-level driver.
-endif
 
 config USB_SERIAL_MOS7840
        tristate "USB Moschip 7840/7820 USB Serial Driver"