Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

staging: most: move core files



This patch moves the core files to the root dir of the driver.
This is needed to clean up the directory layout.

Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c1dcb35b
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
menuconfig MOST
        tristate "MOST driver"
        tristate "MOST support"
	depends on HAS_DMA
        select MOSTCORE
        default n
        ---help---
          This option allows you to enable support for MOST Network transceivers.
	  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.

@@ -12,8 +17,6 @@ menuconfig MOST

if MOST

source "drivers/staging/most/mostcore/Kconfig"

source "drivers/staging/most/aim-cdev/Kconfig"

source "drivers/staging/most/aim-network/Kconfig"
+4 −1
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_MOSTCORE)	+= mostcore/
obj-$(CONFIG_MOST) += most_core.o
most_core-y := core.o
ccflags-y += -Idrivers/staging/

obj-$(CONFIG_AIM_CDEV)	+= aim-cdev/
obj-$(CONFIG_AIM_NETWORK)	+= aim-network/
obj-$(CONFIG_AIM_SOUND)	+= aim-sound/
+1 −1
Original line number Diff line number Diff line
obj-$(CONFIG_AIM_CDEV) += aim_cdev.o

aim_cdev-objs := cdev.o
ccflags-y += -Idrivers/staging/most/mostcore/
 No newline at end of file
ccflags-y += -Idrivers/staging/
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
#include <linux/kfifo.h>
#include <linux/uaccess.h>
#include <linux/idr.h>
#include "mostcore.h"
#include "most/core.h"

static dev_t aim_devno;
static struct class *aim_class;
+1 −1
Original line number Diff line number Diff line
obj-$(CONFIG_AIM_NETWORK) += aim_network.o

aim_network-objs := networking.o
ccflags-y += -Idrivers/staging/most/mostcore/
ccflags-y += -Idrivers/staging/
Loading