include: Remove unused header files
Subsystems (15)
PATCH v2 1/1 include: Remove unused header files
As part of various code clean-ups we have on occasion missed removing unused header files. None of these files are referenced anywhere else at this point.
---
Changes in v2:
- Don't remove arch/arm/mach-at91/include/mach/sama7-sfr.h per Eugen Hristev
--- arch/arm/include/asm/arch-bcmcygnus/configs.h | 18 - arch/arm/include/asm/arch-bcmnsp/configs.h | 17 - arch/arm/include/asm/arch-imxrt/imxrt.h | 10 - arch/arm/include/asm/arch-lpc32xx/gpio_grp.h | 39 - arch/arm/include/asm/arch-mx27/mxcmmc.h | 11 - arch/arm/include/asm/arch-mx6/opos6ul.h | 11 - arch/arm/include/asm/arch-mxs/regs-uartapp.h | 219 --- arch/arm/include/asm/arch-omap3/omap3-regs.h | 78 - arch/arm/include/asm/arch-omap5/mux_omap5.h | 317 ---- arch/arm/include/asm/iproc-common/configs.h | 14 - .../include/asm/iproc-common/iproc_sdhci.h | 12 - arch/arm/include/asm/kona-common/kona_sdhci.h | 11 - arch/arm/mach-at91/include/mach/at91_rtt.h | 32 - .../mach-davinci/include/mach/aintc_defs.h | 35 - .../include/mach/xhci-keystone.h | 24 - arch/powerpc/include/asm/mc146818rtc.h | 27 - arch/powerpc/include/asm/pci_io.h | 43 - arch/riscv/include/asm/arch-fu740/eeprom.h | 15 - arch/sh/include/asm/mmc.h | 14 - include/.gitignore | 4 - include/ali512x.h | 37 - include/andestech/andes_pcu.h | 354 ---- include/asm-generic/types.h | 9 - include/dp83848.h | 84 - include/ds1722.h | 14 - include/exynos_lcd.h | 81 - include/faraday/ftpci100.h | 84 - include/faraday/ftsdmc020.h | 90 - include/faraday/ftsdmc021.h | 139 -- include/lcd_console.h | 102 -- include/lcdvideo.h | 69 - include/linux/mc146818rtc.h | 86 - include/linux/mtd/doc2000.h | 207 --- include/linux/mtd/ndfc.h | 67 - include/linux_logo.h | 1445 ----------------- include/lxt971a.h | 131 -- include/mc13783.h | 63 - include/mc34704.h | 45 - include/mc9sdz60.h | 66 - include/mii_phy.h | 8 - include/mk48t59.h | 47 - include/mpc106.h | 140 -- include/mpc86xx.h | 90 - include/mvmfp.h | 99 -- include/pca9564.h | 35 - include/sja1000.h | 43 - include/sym53c8xx.h | 552 ------- include/synopsys/dwcddr21mctl.h | 324 ---- include/video_easylogo.h | 26 - 49 files changed, 5488 deletions(-) delete mode 100644 arch/arm/include/asm/arch-bcmcygnus/configs.h delete mode 100644 arch/arm/include/asm/arch-bcmnsp/configs.h delete mode 100644 arch/arm/include/asm/arch-imxrt/imxrt.h delete mode 100644 arch/arm/include/asm/arch-lpc32xx/gpio_grp.h delete mode 100644 arch/arm/include/asm/arch-mx27/mxcmmc.h delete mode 100644 arch/arm/include/asm/arch-mx6/opos6ul.h delete mode 100644 arch/arm/include/asm/arch-mxs/regs-uartapp.h delete mode 100644 arch/arm/include/asm/arch-omap3/omap3-regs.h delete mode 100644 arch/arm/include/asm/arch-omap5/mux_omap5.h delete mode 100644 arch/arm/include/asm/iproc-common/configs.h delete mode 100644 arch/arm/include/asm/iproc-common/iproc_sdhci.h delete mode 100644 arch/arm/include/asm/kona-common/kona_sdhci.h delete mode 100644 arch/arm/mach-at91/include/mach/at91_rtt.h delete mode 100644 arch/arm/mach-davinci/include/mach/aintc_defs.h delete mode 100644 arch/arm/mach-keystone/include/mach/xhci-keystone.h delete mode 100644 arch/powerpc/include/asm/mc146818rtc.h delete mode 100644 arch/powerpc/include/asm/pci_io.h delete mode 100644 arch/riscv/include/asm/arch-fu740/eeprom.h delete mode 100644 arch/sh/include/asm/mmc.h delete mode 100644 include/.gitignore delete mode 100644 include/ali512x.h delete mode 100644 include/andestech/andes_pcu.h delete mode 100644 include/asm-generic/types.h delete mode 100644 include/dp83848.h delete mode 100644 include/ds1722.h delete mode 100644 include/exynos_lcd.h delete mode 100644 include/faraday/ftpci100.h delete mode 100644 include/faraday/ftsdmc020.h delete mode 100644 include/faraday/ftsdmc021.h delete mode 100644 include/lcd_console.h delete mode 100644 include/lcdvideo.h delete mode 100644 include/linux/mc146818rtc.h delete mode 100644 include/linux/mtd/doc2000.h delete mode 100644 include/linux/mtd/ndfc.h delete mode 100644 include/linux_logo.h delete mode 100644 include/lxt971a.h delete mode 100644 include/mc13783.h delete mode 100644 include/mc34704.h delete mode 100644 include/mc9sdz60.h delete mode 100644 include/mii_phy.h delete mode 100644 include/mk48t59.h delete mode 100644 include/mpc106.h delete mode 100644 include/mpc86xx.h delete mode 100644 include/mvmfp.h delete mode 100644 include/pca9564.h delete mode 100644 include/sja1000.h delete mode 100644 include/sym53c8xx.h delete mode 100644 include/synopsys/dwcddr21mctl.h delete mode 100644 include/video_easylogo.h
arch/arm/include/asm/arch-bcmcygnus/configs.h deleted +0 -18
@@ -1,18 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright 2014-2017 Broadcom. -*/ - -#ifndef __ARCH_CONFIGS_H -#define __ARCH_CONFIGS_H - -#include <asm/iproc-common/configs.h> - -/* uArchitecture specifics */ - -/* Serial Info */ -#define CFG_SYS_NS16550_CLK 100000000 -#define CFG_SYS_NS16550_CLK_DIV 54 -#define CFG_SYS_NS16550_COM3 0x18023000 - -#endif /* __ARCH_CONFIGS_H */
arch/arm/include/asm/arch-bcmnsp/configs.h deleted +0 -17
@@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright 2014 Broadcom Corporation. -*/ - -#ifndef __ARCH_CONFIGS_H -#define __ARCH_CONFIGS_H - -#include <asm/iproc-common/configs.h> - -/* uArchitecture specifics */ - -/* Serial Info */ -#define CFG_SYS_NS16550_CLK 0x03b9aca0 -#define CFG_SYS_NS16550_COM1 0x18000300 - -#endif /* __ARCH_CONFIGS_H */
arch/arm/include/asm/arch-imxrt/imxrt.h deleted +0 -10
@@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright (C) 2019 -* Author(s): Giulio Benetti <[email protected]> -*/ - -#ifndef _ASM_ARCH_IMXRT_H -#define _ASM_ARCH_IMXRT_H - -#endif /* _ASM_ARCH_IMXRT_H */
arch/arm/include/asm/arch-lpc32xx/gpio_grp.h deleted +0 -39
@@ -1,39 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* LPC32xx GPIO interface macro for pin mapping. -* -* (C) Copyright 2015 DENX Software Engineering GmbH -* Written-by: Sylvain Lemieux <slemieux@@tycoint.com> -*/ - -#ifndef _LPC32XX_GPIO_GRP_H -#define _LPC32XX_GPIO_GRP_H - -/* -* Macro to map the pin for the lpc32xx_gpio driver. -* Note: - GPIOS are considered here as homogeneous and linear from 0 to 159; -* mapping is done per register, as group of 32. -* (see drivers/gpio/lpc32xx_gpio.c for details). -* - macros can be use with the following pins: -* P0.0 - P0.7 -* P1.0 - P1.23 -* P2.0 - P2.12 -* P3 GPI_0 - GPI_9 / GPI_15 - GPI_23 / GPI_25 / GPI_27 - GPI_28 -* P3 GPO_0 - GPO_23 -* P3 GPIO_0 - GPIO_5 (output register only) -*/ -#define LPC32XX_GPIO_P0_GRP 0 -#define LPC32XX_GPIO_P1_GRP 32 -#define LPC32XX_GPIO_P2_GRP 64 -#define LPC32XX_GPO_P3_GRP 96 -#define LPC32XX_GPIO_P3_GRP (LPC32XX_GPO_P3_GRP + 25) -#define LPC32XX_GPI_P3_GRP 128 - -/* -* A specific GPIO can be selected with this macro -* ie, GPIO P0.1 can be selected with LPC32XX_GPIO(LPC32XX_GPIO_P0_GRP, 1) -* See the LPC32x0 User's guide for GPIO group numbers -*/ -#define LPC32XX_GPIO (x, y) ((x) + (y)) - -#endif /* _LPC32XX_GPIO_GRP_H */
arch/arm/include/asm/arch-mx27/mxcmmc.h deleted +0 -11
@@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright (c) 2009 Ilya Yanok <[email protected]> -*/ - -#ifndef ASM_ARCH_MXCMMC_H -#define ASM_ARCH_MXCMMC_H - -int mxc_mmc_init (struct bd_info *bis); - -#endif
arch/arm/include/asm/arch-mx6/opos6ul.h deleted +0 -11
@@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright (C) 2017 Armadeus Systems -*/ - -#ifndef __ARCH_ARM_MX6UL_OPOS6UL_H__ -#define __ARCH_ARM_MX6UL_OPOS6UL_H__ - -int opos6ul_board_late_init (void ); - -#endif
arch/arm/include/asm/arch-mxs/regs-uartapp.h deleted +0 -219
219 lines not on this page · raw message
arch/arm/include/asm/arch-omap3/omap3-regs.h deleted +0 -78
78 lines not on this page · raw message
arch/arm/include/asm/arch-omap5/mux_omap5.h deleted +0 -317
317 lines not on this page · raw message
arch/arm/include/asm/iproc-common/configs.h deleted +0 -14
@@ -1,14 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright 2014 Broadcom Corporation. -*/ - -#ifndef __IPROC_COMMON_CONFIGS_H -#define __IPROC_COMMON_CONFIGS_H - -#include <linux/stringify.h> - -/* Memory Info */ -#define CFG_SYS_SDRAM_BASE 0x61000000 - -#endif /* __IPROC_COMMON_CONFIGS_H */
arch/arm/include/asm/iproc-common/iproc_sdhci.h deleted +0 -12
@@ -1,12 +0,0 @@ -/* SPDX-License-Identifier: <SPDX License Expression> */ -/* -* Copyright 2019 Broadcom -* -*/ - -#ifndef __IPROC_SDHCI_H -#define __IPROC_SDHCI_H - -int iproc_sdhci_init (int dev_index,u32 quirks); - -#endif
arch/arm/include/asm/kona-common/kona_sdhci.h deleted +0 -11
@@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright 2013 Broadcom Corporation. -*/ - -#ifndef __KONA_SDHCI_H -#define __KONA_SDHCI_H - -int kona_sdhci_init (int dev_index,u32 min_clk,u32 quirks); - -#endif
arch/arm/mach-at91/include/mach/at91_rtt.h deleted +0 -32
@@ -1,32 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright (C) 2010 -* Reinhard Meyer, [email protected] -* -* Real-time Timer -* Based on AT91SAM9XE datasheet -*/ - -#ifndef AT91_RTT_H -#define AT91_RTT_H - -#ifndef __ASSEMBLY__ - -typedef struct at91_rtt { -u32 mr;/* Mode Register RW 0x00008000 */ -u32 ar;/* Alarm Register RW 0xFFFFFFFF */ -u32 vr;/* Value Register RO 0x00000000 */ -u32 sr;/* Status Register RO 0x00000000 */ -}at91_rtt_t ; - -#endif /* __ASSEMBLY__ */ - -#define AT91_RTT_MR_RTPRES 0x0000ffff -#define AT91_RTT_MR_ALMIEN 0x00010000 -#define AT91_RTT_RTTINCIEN 0x00020000 -#define AT91_RTT_RTTRST 0x00040000 - -#define AT91_RTT_SR_ALMS 0x00000001 -#define AT91_RTT_SR_RTTINC 0x00000002 - -#endif
arch/arm/mach-davinci/include/mach/aintc_defs.h deleted +0 -35
@@ -1,35 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright (C) 2011 -* Heiko Schocher, DENX Software Engineering, [email protected]. -*/ -#ifndef _DV_AINTC_DEFS_H_ -#define _DV_AINTC_DEFS_H_ - -struct dv_aintc_regs { -unsigned int fiq0;/* 0x00 */ -unsigned int fiq1;/* 0x04 */ -unsigned int irq0;/* 0x08 */ -unsigned int irq1;/* 0x0c */ -unsigned int fiqentry;/* 0x10 */ -unsigned int irqentry;/* 0x14 */ -unsigned int eint0;/* 0x18 */ -unsigned int eint1;/* 0x1c */ -unsigned int intctl;/* 0x20 */ -unsigned int eabase;/* 0x24 */ -unsigned char rsvd0[8 ];/* 0x28 */ -unsigned int intpri0;/* 0x30 */ -unsigned int intpri1;/* 0x34 */ -unsigned int intpri2;/* 0x38 */ -unsigned int intpri3;/* 0x3c */ -unsigned int intpri4;/* 0x40 */ -unsigned int intpri5;/* 0x44 */ -unsigned int intpri6;/* 0x48 */ -unsigned int intpri7;/* 0x4c */ -}; - -#define dv_aintc_regs ((struct dv_aintc_regs *)DAVINCI_ARM_INTC_BASE) - -#define DV_AINTC_INTCTL_IDMODE (1 << 2) - -#endif /* _DV_AINTC_DEFS_H_ */
arch/arm/mach-keystone/include/mach/xhci-keystone.h deleted +0 -24
@@ -1,24 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* USB 3.0 DRD Controller -* -* (C) Copyright 2012-2014 -* Texas Instruments Incorporated, <www.ti.com> -*/ - -#ifndef __ASSEMBLY__ -#include <linux/bitops.h> -#endif - -#define USB3_PHY_REF_SSP_EN BIT(29) -#define USB3_PHY_OTG_VBUSVLDECTSEL BIT(16) - -/* KEYSTONE2 XHCI PHY register structure */ -struct keystone_xhci_phy { -unsigned int phy_utmi;/* ctl0 */ -unsigned int phy_pipe;/* ctl1 */ -unsigned int phy_param_ctrl_1;/* ctl2 */ -unsigned int phy_param_ctrl_2;/* ctl3 */ -unsigned int phy_clock;/* ctl4 */ -unsigned int phy_pll;/* ctl5 */ -};
arch/powerpc/include/asm/mc146818rtc.h deleted +0 -27
@@ -1,27 +0,0 @@ -/* -* Machine dependent access functions for RTC registers. -*/ -#ifndef __ASM_PPC_MC146818RTC_H -#define __ASM_PPC_MC146818RTC_H - -#include <asm/io.h> - -#ifndef RTC_PORT -#define RTC_PORT (x) (0x70 + (x)) -#define RTC_ALWAYS_BCD 1/* RTC operates in binary mode */ -#endif - -/* -* The yet supported machines all access the RTC index register via -* an ISA port access but the way to access the date register differs ... -*/ -#define CMOS_READ (addr) ({ \ -outb_p((addr),RTC_PORT(0)); \ -inb_p(RTC_PORT(1)); \ -}) -#define CMOS_WRITE (val, addr) ({ \ -outb_p((addr),RTC_PORT(0)); \ -outb_p((val),RTC_PORT(1)); \ -}) - -#endif /* __ASM_PPC_MC146818RTC_H */
arch/powerpc/include/asm/pci_io.h deleted +0 -43
43 lines not on this page · raw message
arch/riscv/include/asm/arch-fu740/eeprom.h deleted +0 -15
@@ -1,15 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* -* Copyright (C) 2021 SiFive, Inc. -* -* Zong Li <[email protected]> -*/ - -#ifndef _ASM_RISCV_EEPROM_H -#define _ASM_RISCV_EEPROM_H - -#define PCB_REVISION_REV3 0x3 - -u8 get_pcb_revision_from_eeprom (void ); - -#endif /* _ASM_RISCV_EEPROM_H */
arch/sh/include/asm/mmc.h deleted +0 -14
@@ -1,14 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* -* Renesas SuperH MMCIF driver. -* -* Copyright (C) 2012 Nobuhiro Iwamatsu <[email protected]> -* Copyright (C) 2012 Renesas Solutions Corp. -* -*/ -#ifndef _SH_MMC_H_ -#define _SH_MMC_H_ - -int mmcif_mmc_init (void ); - -#endif /* _SH_MMC_H_ */
include/.gitignore deleted +0 -4
@@ -1,4 +0,0 @@ -/autoconf.mk* -/bmp_logo.h -/bmp_logo_data.h -/config.h
include/ali512x.h deleted +0 -37
@@ -1,37 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* (C) Copyright 2002 -* Daniel Engström, Omicron Ceti AB <[email protected]>. -*/ - -#ifndef __ASM_IC_ALI512X_H_ -#define __ASM_IC_ALI512X_H_ - -# define ALI_INDEX 0x3f0 -# define ALI_DATA 0x3f1 - -# define ALI_ENABLED 1 -# define ALI_DISABLED 0 - -# define ALI_UART1 0 -# define ALI_UART2 1 - -/* setup functions */ -void ali512x_init (void ); -void ali512x_set_fdc (int enabled,u16 io,u8 irq,u8 dma_channel); -void ali512x_set_pp (int enabled,u16 io,u8 irq,u8 dma_channel); -void ali512x_set_uart (int enabled,int index,u16 io,u8 irq); -void ali512x_set_rtc (int enabled,u16 io,u8 irq); -void ali512x_set_kbc (int enabled,u8 kbc_irq,u8 mouse_irq); -void ali512x_set_cio (int enabled); - - -/* common I/O functions */ -void ali512x_cio_function (int pin,int special,int inv,int input); -void ali512x_cio_out (int pin,int value); -int ali512x_cio_in (int pin); - -/* misc features */ -void ali512x_set_uart2_irda (int enabled); - -#endif
include/andestech/andes_pcu.h deleted +0 -354
354 lines not on this page · raw message
include/asm-generic/types.h deleted +0 -9
@@ -1,9 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_GENERIC_TYPES_H -#define _ASM_GENERIC_TYPES_H -/* -* int-ll64 is used everywhere now. -*/ -#include <asm-generic/int-ll64.h> - -#endif /* _ASM_GENERIC_TYPES_H */
include/dp83848.h deleted +0 -84
84 lines not on this page · raw message
include/ds1722.h deleted +0 -14
@@ -1,14 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ - -#ifndef _DS1722_H_ -#define _DS1722_H_ - -#define DS1722_RESOLUTION_8BIT 0x0 -#define DS1722_RESOLUTION_9BIT 0x1 -#define DS1722_RESOLUTION_10BIT 0x2 -#define DS1722_RESOLUTION_11BIT 0x3 -#define DS1722_RESOLUTION_12BIT 0x4 - -int ds1722_probe (int dev); - -#endif /* _DS1722_H_ */
include/exynos_lcd.h deleted +0 -81
81 lines not on this page · raw message
include/faraday/ftpci100.h deleted +0 -84
84 lines not on this page · raw message
include/faraday/ftsdmc020.h deleted +0 -90
90 lines not on this page · raw message
include/faraday/ftsdmc021.h deleted +0 -139
139 lines not on this page · raw message
include/lcd_console.h deleted +0 -102
102 lines not on this page · raw message
include/lcdvideo.h deleted +0 -69
69 lines not on this page · raw message
include/linux/mc146818rtc.h deleted +0 -86
86 lines not on this page · raw message
include/linux/mtd/doc2000.h deleted +0 -207
207 lines not on this page · raw message
include/linux/mtd/ndfc.h deleted +0 -67
67 lines not on this page · raw message
include/linux_logo.h deleted +0 -1445
626 lines not on this page · raw message
include/lxt971a.h deleted +0 -131
131 lines not on this page · raw message
include/mc13783.h deleted +0 -63
63 lines not on this page · raw message
include/mc34704.h deleted +0 -45
45 lines not on this page · raw message
include/mc9sdz60.h deleted +0 -66
66 lines not on this page · raw message
include/mk48t59.h deleted +0 -47
47 lines not on this page · raw message
include/mpc106.h deleted +0 -140
140 lines not on this page · raw message
include/mpc86xx.h deleted +0 -90
90 lines not on this page · raw message
include/mvmfp.h deleted +0 -99
99 lines not on this page · raw message
include/sja1000.h deleted +0 -43
43 lines not on this page · raw message
include/sym53c8xx.h deleted +0 -552
552 lines not on this page · raw message
include/synopsys/dwcddr21mctl.h deleted +0 -324
324 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.34.1
Part of the diff is not shown here. View the raw message.