Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Christian Gromm and committed by
Greg Kroah-Hartman
9249c6a6 77550c20

+25 -21
+1 -1
drivers/staging/most/Kconfig
··· 25 25 26 26 source "drivers/staging/most/aim-v4l2/Kconfig" 27 27 28 - source "drivers/staging/most/hdm-dim2/Kconfig" 28 + source "drivers/staging/most/dim2/Kconfig" 29 29 30 30 source "drivers/staging/most/i2c/Kconfig" 31 31
+4
drivers/staging/most/dim2/Makefile
··· 1 + obj-$(CONFIG_MOST_DIM2) += most_dim2.o 2 + 3 + most_dim2-objs := dim2.o hal.o sysfs.o 4 + ccflags-y += -Idrivers/staging/
+3 -3
drivers/staging/most/hdm-dim2/Kconfig drivers/staging/most/dim2/Kconfig
··· 2 2 # MediaLB configuration 3 3 # 4 4 5 - config HDM_DIM2 6 - tristate "DIM2 HDM" 5 + config MOST_DIM2 6 + tristate "DIM2" 7 7 depends on HAS_IOMEM 8 8 9 9 ---help--- ··· 13 13 maintainer of this driver. 14 14 15 15 To compile this driver as a module, choose M here: the 16 - module will be called hdm_dim2. 16 + module will be called most_dim2.
+1 -1
drivers/staging/most/hdm-dim2/dim2_errors.h drivers/staging/most/dim2/errors.h
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * dim2_errors.h - Definitions of errors for DIM2 HAL API 3 + * errors.h - Definitions of errors for DIM2 HAL API 4 4 * (MediaLB, Device Interface Macro IP, OS62420) 5 5 * 6 6 * Copyright (C) 2015, Microchip Technology Germany II GmbH & Co. KG
+4 -4
drivers/staging/most/hdm-dim2/dim2_hal.c drivers/staging/most/dim2/hal.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * dim2_hal.c - DIM2 HAL implementation 3 + * hal.c - DIM2 HAL implementation 4 4 * (MediaLB, Device Interface Macro IP, OS62420) 5 5 * 6 6 * Copyright (C) 2015-2016, Microchip Technology Germany II GmbH & Co. KG ··· 8 8 9 9 /* Author: Andrey Shvetsov <andrey.shvetsov@k2l.de> */ 10 10 11 - #include "dim2_hal.h" 12 - #include "dim2_errors.h" 13 - #include "dim2_reg.h" 11 + #include "hal.h" 12 + #include "errors.h" 13 + #include "reg.h" 14 14 #include <linux/stddef.h> 15 15 #include <linux/kernel.h> 16 16
+2 -2
drivers/staging/most/hdm-dim2/dim2_hal.h drivers/staging/most/dim2/hal.h
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * dim2_hal.h - DIM2 HAL interface 3 + * hal.h - DIM2 HAL interface 4 4 * (MediaLB, Device Interface Macro IP, OS62420) 5 5 * 6 6 * Copyright (C) 2015, Microchip Technology Germany II GmbH & Co. KG ··· 10 10 #define _DIM2_HAL_H 11 11 12 12 #include <linux/types.h> 13 - #include "dim2_reg.h" 13 + #include "reg.h" 14 14 15 15 /* 16 16 * The values below are specified in the hardware specification.
+5 -5
drivers/staging/most/hdm-dim2/dim2_hdm.c drivers/staging/most/dim2/dim2.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * dim2_hdm.c - MediaLB DIM2 Hardware Dependent Module 3 + * dim2.c - MediaLB DIM2 Hardware Dependent Module 4 4 * 5 5 * Copyright (C) 2015-2016, Microchip Technology Germany II GmbH & Co. KG 6 6 */ ··· 20 20 #include <linux/kthread.h> 21 21 22 22 #include "most/core.h" 23 - #include "dim2_hal.h" 24 - #include "dim2_hdm.h" 25 - #include "dim2_errors.h" 26 - #include "dim2_sysfs.h" 23 + #include "hal.h" 24 + #include "dim2.h" 25 + #include "errors.h" 26 + #include "sysfs.h" 27 27 28 28 #define DMA_CHANNELS (32 - 1) /* channel 0 is a system channel */ 29 29
+1 -1
drivers/staging/most/hdm-dim2/dim2_hdm.h drivers/staging/most/dim2/dim2.h
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * dim2_hdm.h - MediaLB DIM2 HDM Header 3 + * dim2.h - MediaLB DIM2 HDM Header 4 4 * 5 5 * Copyright (C) 2015, Microchip Technology Germany II GmbH & Co. KG 6 6 */
+1 -1
drivers/staging/most/hdm-dim2/dim2_reg.h drivers/staging/most/dim2/reg.h
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * dim2_reg.h - Definitions for registers of DIM2 3 + * reg.h - Definitions for registers of DIM2 4 4 * (MediaLB, Device Interface Macro IP, OS62420) 5 5 * 6 6 * Copyright (C) 2015, Microchip Technology Germany II GmbH & Co. KG
+2 -2
drivers/staging/most/hdm-dim2/dim2_sysfs.c drivers/staging/most/dim2/sysfs.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * dim2_sysfs.c - MediaLB sysfs information 3 + * sysfs.c - MediaLB sysfs information 4 4 * 5 5 * Copyright (C) 2015, Microchip Technology Germany II GmbH & Co. KG 6 6 */ ··· 10 10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 11 11 12 12 #include <linux/kernel.h> 13 - #include "dim2_sysfs.h" 13 + #include "sysfs.h" 14 14 15 15 struct bus_attr { 16 16 struct attribute attr;
+1 -1
drivers/staging/most/hdm-dim2/dim2_sysfs.h drivers/staging/most/dim2/sysfs.h
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * dim2_sysfs.h - MediaLB sysfs information 3 + * sysfs.h - MediaLB sysfs information 4 4 * 5 5 * Copyright (C) 2015, Microchip Technology Germany II GmbH & Co. KG 6 6 */