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

Configure Feed

Select the types of activity you want to include in your feed.

ARM: omap2: remove unused headers

The serial.h and clock3xxx.h headers have no contents that
anything else uses, so these can be removed after the other
files stop including them.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

-93
-21
arch/arm/mach-omap2/clock3xxx.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - /* 3 - * OMAP3-common clock function prototypes and macros 4 - * 5 - * Copyright (C) 2007-2010 Texas Instruments, Inc. 6 - * Copyright (C) 2007-2010 Nokia Corporation 7 - */ 8 - 9 - #ifndef __ARCH_ARM_MACH_OMAP2_CLOCK3XXX_H 10 - #define __ARCH_ARM_MACH_OMAP2_CLOCK3XXX_H 11 - 12 - int omap3xxx_clk_init(void); 13 - int omap3_core_dpll_m2_set_rate(struct clk_hw *clk, unsigned long rate, 14 - unsigned long parent_rate); 15 - 16 - extern struct clk *sdrc_ick_p; 17 - extern struct clk *arm_fck_p; 18 - 19 - extern const struct clkops clkops_noncore_dpll_ops; 20 - 21 - #endif
-1
arch/arm/mach-omap2/common.h
··· 38 38 #include <asm/hardware/cache-l2x0.h> 39 39 40 40 #include "i2c.h" 41 - #include "serial.h" 42 41 43 42 #define OMAP_INTC_START NR_IRQS 44 43
-2
arch/arm/mach-omap2/io.c
··· 33 33 #include "common.h" 34 34 #include "clock.h" 35 35 #include "clock2xxx.h" 36 - #include "clock3xxx.h" 37 36 #include "sdrc.h" 38 37 #include "control.h" 39 - #include "serial.h" 40 38 #include "sram.h" 41 39 #include "cm2xxx.h" 42 40 #include "cm3xxx.h"
-1
arch/arm/mach-omap2/omap_hwmod_2420_data.c
··· 22 22 #include "prm-regbits-24xx.h" 23 23 #include "i2c.h" 24 24 #include "mmc.h" 25 - #include "serial.h" 26 25 #include "wd_timer.h" 27 26 28 27 /*
-1
arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c
··· 13 13 #include "omap_hwmod.h" 14 14 #include "l3_2xxx.h" 15 15 #include "l4_2xxx.h" 16 - #include "serial.h" 17 16 18 17 #include "omap_hwmod_common_data.h" 19 18
-1
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
··· 27 27 28 28 #include "i2c.h" 29 29 #include "wd_timer.h" 30 - #include "serial.h" 31 30 32 31 /* 33 32 * OMAP3xxx hardware module integration data
-66
arch/arm/mach-omap2/serial.h
··· 1 - /* 2 - * Copyright (C) 2009 Texas Instruments 3 - * Added OMAP4 support- Santosh Shilimkar <santosh.shilimkar@ti.com> 4 - * 5 - * This program is distributed in the hope that it will be useful, 6 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 7 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 8 - * GNU General Public License for more details. 9 - */ 10 - 11 - /* OMAP2 serial ports */ 12 - #define OMAP2_UART1_BASE 0x4806a000 13 - #define OMAP2_UART2_BASE 0x4806c000 14 - #define OMAP2_UART3_BASE 0x4806e000 15 - 16 - /* OMAP3 serial ports */ 17 - #define OMAP3_UART1_BASE OMAP2_UART1_BASE 18 - #define OMAP3_UART2_BASE OMAP2_UART2_BASE 19 - #define OMAP3_UART3_BASE 0x49020000 20 - #define OMAP3_UART4_BASE 0x49042000 /* Only on 36xx */ 21 - #define OMAP3_UART4_AM35XX_BASE 0x4809E000 /* Only on AM35xx */ 22 - 23 - /* OMAP4 serial ports */ 24 - #define OMAP4_UART1_BASE OMAP2_UART1_BASE 25 - #define OMAP4_UART2_BASE OMAP2_UART2_BASE 26 - #define OMAP4_UART3_BASE 0x48020000 27 - #define OMAP4_UART4_BASE 0x4806e000 28 - 29 - /* TI81XX serial ports */ 30 - #define TI81XX_UART1_BASE 0x48020000 31 - #define TI81XX_UART2_BASE 0x48022000 32 - #define TI81XX_UART3_BASE 0x48024000 33 - 34 - /* AM3505/3517 UART4 */ 35 - #define AM35XX_UART4_BASE 0x4809E000 /* Only on AM3505/3517 */ 36 - 37 - /* AM33XX serial port */ 38 - #define AM33XX_UART1_BASE 0x44E09000 39 - 40 - /* OMAP5 serial ports */ 41 - #define OMAP5_UART1_BASE OMAP2_UART1_BASE 42 - #define OMAP5_UART2_BASE OMAP2_UART2_BASE 43 - #define OMAP5_UART3_BASE OMAP4_UART3_BASE 44 - #define OMAP5_UART4_BASE OMAP4_UART4_BASE 45 - #define OMAP5_UART5_BASE 0x48066000 46 - #define OMAP5_UART6_BASE 0x48068000 47 - 48 - /* External port on Zoom2/3 */ 49 - #define ZOOM_UART_BASE 0x10000000 50 - #define ZOOM_UART_VIRT 0xfa400000 51 - 52 - #define OMAP_PORT_SHIFT 2 53 - #define ZOOM_PORT_SHIFT 1 54 - 55 - #define OMAP24XX_BASE_BAUD (48000000/16) 56 - 57 - #ifndef __ASSEMBLER__ 58 - 59 - struct omap_board_data; 60 - struct omap_uart_port_info; 61 - 62 - extern void omap_serial_init(void); 63 - extern void omap_serial_board_init(struct omap_uart_port_info *platform_data); 64 - extern void omap_serial_init_port(struct omap_board_data *bdata, 65 - struct omap_uart_port_info *platform_data); 66 - #endif