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

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

staging: most: dim2: rename module



This patch renames the folder and source files of the dim2 module. It is
needed to clear the directory layout of the driver.

Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 77550c20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ source "drivers/staging/most/aim-sound/Kconfig"

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

source "drivers/staging/most/hdm-dim2/Kconfig"
source "drivers/staging/most/dim2/Kconfig"

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

+3 −3
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@
# MediaLB configuration
#

config HDM_DIM2
	tristate "DIM2 HDM"
config MOST_DIM2
	tristate "DIM2"
	depends on HAS_IOMEM

	---help---
@@ -13,4 +13,4 @@ config HDM_DIM2
	  maintainer of this driver.

	  To compile this driver as a module, choose M here: the
	  module will be called hdm_dim2.
	  module will be called most_dim2.
+4 −0
Original line number Diff line number Diff line
obj-$(CONFIG_MOST_DIM2) += most_dim2.o

most_dim2-objs := dim2.o hal.o sysfs.o
ccflags-y += -Idrivers/staging/
+5 −5
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/*
 * dim2_hdm.c - MediaLB DIM2 Hardware Dependent Module
 * dim2.c - MediaLB DIM2 Hardware Dependent Module
 *
 * Copyright (C) 2015-2016, Microchip Technology Germany II GmbH & Co. KG
 */
@@ -20,10 +20,10 @@
#include <linux/kthread.h>

#include "most/core.h"
#include "dim2_hal.h"
#include "dim2_hdm.h"
#include "dim2_errors.h"
#include "dim2_sysfs.h"
#include "hal.h"
#include "dim2.h"
#include "errors.h"
#include "sysfs.h"

#define DMA_CHANNELS (32 - 1)  /* channel 0 is a system channel */

+1 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/*
 * dim2_hdm.h - MediaLB DIM2 HDM Header
 * dim2.h - MediaLB DIM2 HDM Header
 *
 * Copyright (C) 2015, Microchip Technology Germany II GmbH & Co. KG
 */
Loading