From patchwork Wed Jan 9 13:31:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Klauser X-Patchwork-Id: 1952641 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 6272A3FD40 for ; Wed, 9 Jan 2013 13:34:58 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tsvkb-0007MF-NW; Wed, 09 Jan 2013 13:31:25 +0000 Received: from mx1.zhaw.ch ([160.85.104.50]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TsvkX-0007L5-Sf for linux-arm-kernel@lists.infradead.org; Wed, 09 Jan 2013 13:31:23 +0000 Received: from mx1.zhaw.ch (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id D75C8465; Wed, 9 Jan 2013 14:31:13 +0100 (CET) Received: from fermion.zhaw.ch (unknown [160.85.232.51]) by mx1.zhaw.ch (Postfix) with ESMTP id 6CCF142E; Wed, 9 Jan 2013 14:31:13 +0100 (CET) From: Tobias Klauser To: Jamie Iles , Russell King , linux-arm-kernel@lists.infradead.org Subject: [PATCH RESEND] ARM: picoxcell: remove unnecessary header common.h Date: Wed, 9 Jan 2013 14:31:13 +0100 Message-Id: <1357738273-20842-1-git-send-email-tklauser@distanz.ch> X-Mailer: git-send-email 1.7.5.4 X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.1.9.131818 X-PerlMx-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1800_1899 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, RDNS_NXDOMAIN 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, __ANY_URI 0, __CP_POSSIBLE_EXPLOIT_SUBJ 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __URI_NS ' X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130109_083122_200521_FDF883F2 X-CRM114-Status: GOOD ( 13.49 ) X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [160.85.104.50 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Since commit 66314223 ("ARM: socfpga: initial support for Altera's SOCFPGA platform") struct sys_timer dw_apb_timer is an extern in , so there is no need for common.h anymore, instead directly #include in common.c Signed-off-by: Tobias Klauser Acked-by: Jamie Iles --- I looks like this hasn't made it into -next yet, thus I'm resending the patch already submitted on 5 October 2012 (with Jamie's ACK added). arch/arm/mach-picoxcell/common.c | 3 +-- arch/arm/mach-picoxcell/common.h | 17 ----------------- 2 files changed, 1 insertions(+), 19 deletions(-) delete mode 100644 arch/arm/mach-picoxcell/common.h diff --git a/arch/arm/mach-picoxcell/common.c b/arch/arm/mach-picoxcell/common.c index f6c0849..bc36f12 100644 --- a/arch/arm/mach-picoxcell/common.c +++ b/arch/arm/mach-picoxcell/common.c @@ -19,8 +19,7 @@ #include #include #include - -#include "common.h" +#include #define PHYS_TO_IO(x) (((x) & 0x00ffffff) | 0xfe000000) #define PICOXCELL_PERIPH_BASE 0x80000000 diff --git a/arch/arm/mach-picoxcell/common.h b/arch/arm/mach-picoxcell/common.h deleted file mode 100644 index a65cb02..0000000 --- a/arch/arm/mach-picoxcell/common.h +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright (c) 2011 Picochip Ltd., Jamie Iles - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * All enquiries to support@picochip.com - */ -#ifndef __PICOXCELL_COMMON_H__ -#define __PICOXCELL_COMMON_H__ - -#include - -extern struct sys_timer dw_apb_timer; - -#endif /* __PICOXCELL_COMMON_H__ */