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

drivers: most: add character device interface driver

This patch adds the character device (cdev) driver source file
most_cdev.c and modifies the Makefiles and Kconfigs accordingly.
Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Link: https://lore.kernel.org/r/1597922595-27493-1-git-send-email-christian.gromm@microchip.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 28c4fb2f
......@@ -23,4 +23,13 @@ config MOST_USB_HDM
To compile this driver as a module, choose M here: the
module will be called most_usb.
config MOST_CDEV
tristate "Cdev"
help
Say Y here if you want to commumicate via character devices.
To compile this driver as a module, choose M here: the
module will be called most_cdev.
endif
......@@ -4,3 +4,4 @@ most_core-y := core.o \
configfs.o
obj-$(CONFIG_MOST_USB_HDM) += most_usb.o
obj-$(CONFIG_MOST_CDEV) += most_cdev.o
......@@ -18,8 +18,6 @@ menuconfig MOST_COMPONENTS
if MOST_COMPONENTS
source "drivers/staging/most/cdev/Kconfig"
source "drivers/staging/most/net/Kconfig"
source "drivers/staging/most/sound/Kconfig"
......
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_MOST_CDEV) += cdev/
obj-$(CONFIG_MOST_NET) += net/
obj-$(CONFIG_MOST_SOUND) += sound/
obj-$(CONFIG_MOST_VIDEO) += video/
......
# SPDX-License-Identifier: GPL-2.0
#
# MOST Cdev configuration
#
config MOST_CDEV
tristate "Cdev"
help
Say Y here if you want to commumicate via character devices.
To compile this driver as a module, choose M here: the
module will be called most_cdev.
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_MOST_CDEV) += most_cdev.o
most_cdev-objs := cdev.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