2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-04 11:24:04 +08:00

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>
This commit is contained in:
Christian Gromm 2020-07-31 14:20:58 +02:00 committed by Greg Kroah-Hartman
parent 11c416e3f0
commit 97a6f772f3
6 changed files with 13 additions and 19 deletions

View File

@ -13,3 +13,14 @@ menuconfig MOST
module will be called most_core.
If in doubt, say N here.
if MOST
config MOST_USB_HDM
tristate "USB"
depends on USB
help
Say Y here if you want to connect via USB to network transceiver.
To compile this driver as a module, choose M here: the
module will be called most_usb.
endif

View File

@ -2,3 +2,5 @@
obj-$(CONFIG_MOST) += most_core.o
most_core-y := core.o \
configfs.o
obj-$(CONFIG_MOST_USB_HDM) += most_usb.o

View File

@ -30,6 +30,4 @@ source "drivers/staging/most/dim2/Kconfig"
source "drivers/staging/most/i2c/Kconfig"
source "drivers/staging/most/usb/Kconfig"
endif

View File

@ -1,13 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
#
# MOST USB configuration
#
config MOST_USB
tristate "USB"
depends on USB
help
Say Y here if you want to connect via USB to network transceiver.
To compile this driver as a module, choose M here: the
module will be called most_usb.

View File

@ -1,4 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_MOST_USB) += most_usb.o
most_usb-objs := usb.o