From patchwork Thu Apr 11 21:37:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2432691 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id A2700DF230 for ; Thu, 11 Apr 2013 21:38:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753184Ab3DKViX (ORCPT ); Thu, 11 Apr 2013 17:38:23 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:58597 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753109Ab3DKViW (ORCPT ); Thu, 11 Apr 2013 17:38:22 -0400 Received: from wuerfel.lan (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MTJZq-1TyOCg2FXy-00SJCK; Thu, 11 Apr 2013 23:37:40 +0200 From: Arnd Bergmann To: Kukjin Kim Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Arnd Bergmann , rtc-linux@googlegroups.com, Alessandro Zummo Subject: [PATCH v3 09/10] rtc: s3c: make header file local Date: Thu, 11 Apr 2013 23:37:24 +0200 Message-Id: <1365716245-99231-10-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1365716245-99231-1-git-send-email-arnd@arndb.de> References: <1365716245-99231-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:Zr4pth5yy+JOwUpP1v05LciLQO5/EcVhBxO6NrUNMnH nvdFimhtyB2PtCdrB/TYKav+k7T3RwYIsrGVU4mUpV3Ferekp8 YQ1ZG5ng+LQBY/JPpv7WvP5Yd7Q3/94rF2oPzuR2TmtWqSnF9J 8wuq5YhfvQnkcESFGO2clnksFZlU6igEr+4fE3l5UriAvE56xQ nzXpTB/gh9RUWIvrCTpSLi6q46EZDvzj3VDmUmm3C+cgc/nm7v OPM4DUyqDL69PGEYEwMrbjhaiWNP3LpPSQLmJpKsRlkkLFL/dV f5CiqMjIT9CqTyuHrNEwVzAqxtSOJM2/wNdDRvu3SXbCX5UjSP XisIzXesL/o4iIHirvA81uGctf7HUjCeu9vcg6MJL Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Nothing outside of the rtc driver includes plat/regs-rtc.h, so we can simply move the file into the same directory, which allows us to build the file as platform-independent code. Signed-off-by: Arnd Bergmann Cc: rtc-linux@googlegroups.com Cc: Alessandro Zummo --- drivers/rtc/rtc-s3c.c | 3 +-- arch/arm/plat-samsung/include/plat/regs-rtc.h => drivers/rtc/rtc-s3c.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) rename arch/arm/plat-samsung/include/plat/regs-rtc.h => drivers/rtc/rtc-s3c.h (97%) diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index fb994e9..7995f79 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c @@ -29,9 +29,8 @@ #include #include -#include #include -#include +#include "rtc-s3c.h" enum s3c_cpu_type { TYPE_S3C2410, diff --git a/arch/arm/plat-samsung/include/plat/regs-rtc.h b/drivers/rtc/rtc-s3c.h similarity index 97% rename from arch/arm/plat-samsung/include/plat/regs-rtc.h rename to drivers/rtc/rtc-s3c.h index 0f8263e..004b61a 100644 --- a/arch/arm/plat-samsung/include/plat/regs-rtc.h +++ b/drivers/rtc/rtc-s3c.h @@ -1,5 +1,4 @@ -/* arch/arm/mach-s3c2410/include/mach/regs-rtc.h - * +/* * Copyright (c) 2003 Simtec Electronics * http://www.simtec.co.uk/products/SWLINUX/ *