Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers: most: add USB adapter driver

This patch adds the USB driver source file most_usb.c and
modifies the Makefile and Kconfig accordingly.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Link: https://lore.kernel.org/r/1596198058-26541-1-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Christian Gromm and committed by
Greg Kroah-Hartman
97a6f772 11c416e3

+13 -19
+11
drivers/most/Kconfig
··· 13 13 module will be called most_core. 14 14 15 15 If in doubt, say N here. 16 + 17 + if MOST 18 + config MOST_USB_HDM 19 + tristate "USB" 20 + depends on USB 21 + help 22 + Say Y here if you want to connect via USB to network transceiver. 23 + 24 + To compile this driver as a module, choose M here: the 25 + module will be called most_usb. 26 + endif
+2
drivers/most/Makefile
··· 2 2 obj-$(CONFIG_MOST) += most_core.o 3 3 most_core-y := core.o \ 4 4 configfs.o 5 + 6 + obj-$(CONFIG_MOST_USB_HDM) += most_usb.o
-2
drivers/staging/most/Kconfig
··· 30 30 31 31 source "drivers/staging/most/i2c/Kconfig" 32 32 33 - source "drivers/staging/most/usb/Kconfig" 34 - 35 33 endif
-13
drivers/staging/most/usb/Kconfig
··· 1 - # SPDX-License-Identifier: GPL-2.0 2 - # 3 - # MOST USB configuration 4 - # 5 - 6 - config MOST_USB 7 - tristate "USB" 8 - depends on USB 9 - help 10 - Say Y here if you want to connect via USB to network transceiver. 11 - 12 - To compile this driver as a module, choose M here: the 13 - module will be called most_usb.
-4
drivers/staging/most/usb/Makefile
··· 1 - # SPDX-License-Identifier: GPL-2.0 2 - obj-$(CONFIG_MOST_USB) += most_usb.o 3 - 4 - most_usb-objs := usb.o
drivers/staging/most/usb/usb.c drivers/most/most_usb.c