From patchwork Thu Jul 11 08:57:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2826122 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 85090C0AB2 for ; Thu, 11 Jul 2013 09:13:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D32EF20107 for ; Thu, 11 Jul 2013 09:13:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 951ED20121 for ; Thu, 11 Jul 2013 09:13:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932682Ab3GKJNN (ORCPT ); Thu, 11 Jul 2013 05:13:13 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:34968 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932597Ab3GKJNK (ORCPT ); Thu, 11 Jul 2013 05:13:10 -0400 Received: by mail-pa0-f54.google.com with SMTP id kx10so7649501pab.13 for ; Thu, 11 Jul 2013 02:13:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=tEU7LeyPoVnYktg+qVqFoLeDO9UbmdIAfjpkPsKCO8w=; b=YkxGmcGZjfH9+1eM30MJDN7ynx/jd14w3v/DL/aEohDFQLNiHM0MrBGmsABQESbUGB z7in+XgDEyEPFvXcqDz2AEC+LbUAN8a3kIKZVTLEhigoScycNd0uFAM64U1EZfR3tsTD zb50KAYMA2jVxXqKkuGW/gklMZwVZdlEpwrrd+jGLonxhHj7lop6chIqb7VBNobwA6hh AJ2ug8X2yJTKfNFgKYGOAxbfQoLp85fidsZYPgeLXiwXT5HAGsj/eWur82KhPB9rttHU bZri00HkAncZQgyLiWNZrC8PGfhsgcyAeQVoL6rDRFGyLEUeFD+He8WLBJiCsFTeZFKs UCwQ== X-Received: by 10.68.76.34 with SMTP id h2mr35848592pbw.20.1373533989830; Thu, 11 Jul 2013 02:13:09 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id fl2sm41050431pab.23.2013.07.11.02.13.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Jul 2013 02:13:09 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] ARM: EXYNOS: Cleanup common.h file Date: Thu, 11 Jul 2013 14:27:27 +0530 Message-Id: <1373533047-4509-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQnzG74dj1id2lAzQspQDRv09adF6gfYdm5jEMI86zAG4WFIoe+3G06achS9wLXI9m2RTOrV Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove unused declarations that got left behind subsequent to making Exynos a DT-only platform. Signed-off-by: Sachin Kamat Reviewed-by: Tomasz Figa --- arch/arm/mach-exynos/common.h | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h index c4abde2..7318e62 100644 --- a/arch/arm/mach-exynos/common.h +++ b/arch/arm/mach-exynos/common.h @@ -17,7 +17,6 @@ void mct_init(void __iomem *base, int irq_g0, int irq_l0, int irq_l1); void exynos_init_time(void); -extern unsigned long xxti_f, xusbxti_f; struct map_desc; void exynos_init_io(void); @@ -25,54 +24,14 @@ void exynos4_restart(enum reboot_mode mode, const char *cmd); void exynos5_restart(enum reboot_mode mode, const char *cmd); void exynos_init_late(void); -/* ToDo: remove these after migrating legacy exynos4 platforms to dt */ -void exynos4_clk_init(struct device_node *np, int is_exynos4210, void __iomem *reg_base, unsigned long xom); -void exynos4_clk_register_fixed_ext(unsigned long, unsigned long); - void exynos_firmware_init(void); -void exynos_set_timer_source(u8 channels); - #ifdef CONFIG_PM_GENERIC_DOMAINS int exynos_pm_late_initcall(void); #else static inline int exynos_pm_late_initcall(void) { return 0; } #endif -#ifdef CONFIG_ARCH_EXYNOS4 -void exynos4_register_clocks(void); -void exynos4_setup_clocks(void); - -#else -#define exynos4_register_clocks() -#define exynos4_setup_clocks() -#endif - -#ifdef CONFIG_ARCH_EXYNOS5 -void exynos5_register_clocks(void); -void exynos5_setup_clocks(void); - -#else -#define exynos5_register_clocks() -#define exynos5_setup_clocks() -#endif - -#ifdef CONFIG_CPU_EXYNOS4210 -void exynos4210_register_clocks(void); - -#else -#define exynos4210_register_clocks() -#endif - -#ifdef CONFIG_SOC_EXYNOS4212 -void exynos4212_register_clocks(void); - -#else -#define exynos4212_register_clocks() -#endif - -struct device_node; - extern struct smp_operations exynos_smp_ops; extern void exynos_cpu_die(unsigned int cpu);