Skip to content

Commit 97a6f77

Browse files
cgrogregkh
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 11c416e commit 97a6f77

File tree

6 files changed

+13
-19
lines changed

6 files changed

+13
-19
lines changed

drivers/most/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,14 @@ menuconfig MOST
1313
module will be called most_core.
1414

1515
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

drivers/most/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
obj-$(CONFIG_MOST) += most_core.o
33
most_core-y := core.o \
44
configfs.o
5+
6+
obj-$(CONFIG_MOST_USB_HDM) += most_usb.o
File renamed without changes.

drivers/staging/most/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,4 @@ source "drivers/staging/most/dim2/Kconfig"
3030

3131
source "drivers/staging/most/i2c/Kconfig"
3232

33-
source "drivers/staging/most/usb/Kconfig"
34-
3533
endif

drivers/staging/most/usb/Kconfig

Lines changed: 0 additions & 13 deletions
This file was deleted.

drivers/staging/most/usb/Makefile

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)