Commit 97a6f772 authored by Christian Gromm's avatar Christian Gromm Committed by Greg Kroah-Hartman

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: default avatarChristian Gromm <christian.gromm@microchip.com>
Link: https://lore.kernel.org/r/1596198058-26541-1-git-send-email-christian.gromm@microchip.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 11c416e3
......@@ -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
# 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.
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_MOST_USB) += most_usb.o
most_usb-objs := usb.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment