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:
parent
11c416e3f0
commit
97a6f772f3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -30,6 +30,4 @@ source "drivers/staging/most/dim2/Kconfig"
|
|||
|
||||
source "drivers/staging/most/i2c/Kconfig"
|
||||
|
||||
source "drivers/staging/most/usb/Kconfig"
|
||||
|
||||
endif
|
||||
|
|
|
@ -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.
|
|
@ -1,4 +0,0 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
obj-$(CONFIG_MOST_USB) += most_usb.o
|
||||
|
||||
most_usb-objs := usb.o
|
Loading…
Reference in New Issue
Block a user