Commit b2765275 authored by Christian Gromm's avatar Christian Gromm Committed by Greg Kroah-Hartman
Browse files

staging: most: move core files out of the staging area



This patch moves the core module to the /drivers/most directory
and makes all necessary changes in order to not break the build.

Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Link: https://lore.kernel.org/r/1583845362-26707-2-git-send-email-christian.gromm@microchip.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 22dd4acc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -228,4 +228,5 @@ source "drivers/interconnect/Kconfig"

source "drivers/counter/Kconfig"

source "drivers/most/Kconfig"
endmenu
+1 −0
Original line number Diff line number Diff line
@@ -186,3 +186,4 @@ obj-$(CONFIG_SIOX) += siox/
obj-$(CONFIG_GNSS)		+= gnss/
obj-$(CONFIG_INTERCONNECT)	+= interconnect/
obj-$(CONFIG_COUNTER)		+= counter/
obj-$(CONFIG_MOST)		+= most/

drivers/most/Kconfig

0 → 100644
+15 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
menuconfig MOST
	tristate "MOST support"
	depends on HAS_DMA && CONFIGFS_FS
	default n
	help
	  Say Y here if you want to enable MOST support.
	  This driver needs at least one additional component to enable the
	  desired access from userspace (e.g. character devices) and one that
	  matches the network controller's hardware interface (e.g. USB).

	  To compile this driver as a module, choose M here: the
	  module will be called most_core.

	  If in doubt, say N here.

drivers/most/Makefile

0 → 100644
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_MOST) += most_core.o
most_core-y :=	core.o \
		configfs.o
+1 −2
Original line number Diff line number Diff line
@@ -10,8 +10,7 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/configfs.h>

#include "most.h"
#include <linux/most.h>

#define MAX_STRING_SIZE 80

Loading