kernel: kmod-usb-serial-mos7720: support parallel port in MCS7715

In-kernel driver for MCS7715 USB-serial bridge has a bool option,
enabling support for parallel port on that chip - which is tied to the
same kernel module. Enable it and select kmod-ppdev, as the image size
increase is minimal and the package isn't bundled in the images by
default.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
This commit is contained in:
Lech Perczak 2019-10-27 14:31:30 +01:00 committed by Hauke Mehrtens
parent d41b8a570f
commit 10b130161d
1 changed files with 2 additions and 1 deletions

View File

@ -750,8 +750,9 @@ $(eval $(call KernelPackage,usb-serial-mct))
define KernelPackage/usb-serial-mos7720
TITLE:=Support for Moschip MOS7720 devices
KCONFIG:=CONFIG_USB_SERIAL_MOS7720
KCONFIG:=CONFIG_USB_SERIAL_MOS7720 CONFIG_USB_SERIAL_MOS7715_PARPORT=y
FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7720.ko
DEPENDS:=+kmod-ppdev
AUTOLOAD:=$(call AutoProbe,mos7720)
$(call AddDepends/usb-serial)
endef