ARM: msm: Remove unused acpuclock-arm11
Subsystems (3)
PATCH 1/1 ARM: msm: Remove unused acpuclock-arm11
This is dead code that isn't initialized or setup (although it is compiled). Remove it and the data structures it references.
Signed-off-by Stephen Boyd <[email protected]>
--- arch/arm/mach-msm/Makefile | 2 +- arch/arm/mach-msm/acpuclock-arm11.c | 525 --------------------------------- arch/arm/mach-msm/acpuclock.h | 32 -- arch/arm/mach-msm/include/mach/board.h | 10 - 4 files changed, 1 insertion(+), 568 deletions(-) delete mode 100644 arch/arm/mach-msm/acpuclock-arm11.c delete mode 100644 arch/arm/mach-msm/acpuclock.h
arch/arm/mach-msm/Makefile +1 -1
@@ -5,7 +5,7 @@ obj-$(CONFIG_DEBUG_FS) += clock-debug.o obj-$(CONFIG_MSM_VIC) += irq-vic.o obj-$(CONFIG_MSM_IOMMU) += devices-iommu.o -obj-$(CONFIG_ARCH_MSM7X00A) += dma.o irq.o acpuclock-arm11.o +obj-$(CONFIG_ARCH_MSM7X00A) += dma.o irq.o obj-$(CONFIG_ARCH_MSM7X30) += dma.o obj-$(CONFIG_ARCH_QSD8X50) += dma.o sirc.o
arch/arm/mach-msm/acpuclock-arm11.c deleted +0 -525
525 lines not on this page · raw message
arch/arm/mach-msm/acpuclock.h deleted +0 -32
@@ -1,32 +0,0 @@ -/* arch/arm/mach-msm/acpuclock.h -* -* MSM architecture clock driver header -* -* Copyright (C) 2007 Google, Inc. -* Copyright (c) 2007 QUALCOMM Incorporated -* Author: San Mehat <[email protected]> -* -* This software is licensed under the terms of the GNU General Public -* License version 2, as published by the Free Software Foundation, and -* may be copied, distributed, and modified under those terms. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -*/ - -#ifndef __ARCH_ARM_MACH_MSM_ACPUCLOCK_H -#define __ARCH_ARM_MACH_MSM_ACPUCLOCK_H - -int acpuclk_set_rate (unsigned long rate,int for_power_collapse); -unsigned long acpuclk_get_rate (void ); -uint32_t acpuclk_get_switch_time (void ); -unsigned long acpuclk_wait_for_irq (void ); -unsigned long acpuclk_power_collapse (void ); -unsigned long acpuclk_get_wfi_rate (void ); - - -#endif -
arch/arm/mach-msm/include/mach/board.h +0 -10
@@ -22,15 +22,6 @@/* platform device data structures */ -struct msm_acpu_clock_platform_data -{ -uint32_t acpu_switch_time_us; -uint32_t max_speed_delta_khz; -uint32_t vdd_switch_time_us; -unsigned long power_collapse_khz; -unsigned long wait_for_irq_khz; -}; -struct clk_lookup ;/* common init routines for use by arch/arm/mach-msm/board-*.c */
@@ -39,7 +30,6 @@ void __init msm_add_devices(void);void __init msm_init_irq (void );void __init msm_init_gpio (void );void __init msm_clock_init (struct clk_lookup *clock_tbl,unsigned num_clocks); -void __init msm_acpu_clock_init (struct msm_acpu_clock_platform_data *);int __init msm_add_sdcc (unsigned int controller,struct msm_mmc_platform_data *plat,unsigned int stat_irq,unsigned long stat_irq_flags);
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation