From patchwork Tue Dec 31 05:11:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 22825 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BE28720540 for ; Tue, 31 Dec 2013 05:15:12 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id jw12sf15604935veb.11 for ; Mon, 30 Dec 2013 21:15:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=KXHELZYo9kqs8wrRlOU16gUQHt/cx3m32p5OJZyv+AQ=; b=RqIkF8Jheby3+GWAfc7dz76ThbmGnnhshQIB/H8/OiAycFNywBHHSgqYXJ10BgxtHV rZgaHNwfjKqiB73SJ/NU7ZIFK1WhenFzueZixScYeA3I2HFRcDAicEh0rh93iIL7jMaN jrWEo1SX55RBrhaUrZbwSJ3FVmuX4HxWWW1A6KiZFPECL/gkvOyPMRYkykStGCBOla1j 4mE4wvHt7b6z1S0sqUKXdq0Lr/l/lNmvHQ35e3XXjvHyHABmtfkPAZEV7pGSB2j0KIP8 pu5bWUFG8f2rYwzstZn9aqLeOxlpxoywN3gtctLVmlC4rzpmZstll0rnMrguxBEnpR27 xhLw== X-Gm-Message-State: ALoCoQmzfjicAl7wt9q9lVT7aYJKBalJRiq40dz/aCzYwhVrQeCWlezZRxxbFIXEM904NhbdzPEN X-Received: by 10.58.147.41 with SMTP id th9mr26283404veb.8.1388466911637; Mon, 30 Dec 2013 21:15:11 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.60.169 with SMTP id i9ls3849800qer.65.gmail; Mon, 30 Dec 2013 21:15:11 -0800 (PST) X-Received: by 10.52.190.131 with SMTP id gq3mr23269776vdc.18.1388466911513; Mon, 30 Dec 2013 21:15:11 -0800 (PST) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id s10si18323290vco.56.2013.12.30.21.15.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 21:15:11 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id oy12so6403708veb.29 for ; Mon, 30 Dec 2013 21:15:11 -0800 (PST) X-Received: by 10.58.243.37 with SMTP id wv5mr4677729vec.41.1388466911223; Mon, 30 Dec 2013 21:15:11 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp644150ved; Mon, 30 Dec 2013 21:15:10 -0800 (PST) X-Received: by 10.66.163.74 with SMTP id yg10mr72911732pab.57.1388466910086; Mon, 30 Dec 2013 21:15:10 -0800 (PST) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by mx.google.com with ESMTPS id s4si2924161pbg.183.2013.12.30.21.15.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 21:15:10 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.51 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.51; Received: by mail-pa0-f51.google.com with SMTP id fa1so12407373pad.10 for ; Mon, 30 Dec 2013 21:15:09 -0800 (PST) X-Received: by 10.68.253.7 with SMTP id zw7mr72409660pbc.83.1388466909487; Mon, 30 Dec 2013 21:15:09 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id om6sm85328505pbc.43.2013.12.30.21.15.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 21:15:08 -0800 (PST) From: Sachin Kamat To: linux-mtd@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, computersforpeace@gmail.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] mtd: s3c2410: Move plat/regs-nand.h to drivers/mtd Date: Tue, 31 Dec 2013 10:41:30 +0530 Message-Id: <1388466690-16435-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , plat/regs-nand.h is used only by s3c2410 nand driver. Move this file to the drivers folder to remove platform dependency. Signed-off-by: Sachin Kamat --- drivers/mtd/nand/s3c2410.c | 2 +- .../plat/regs-nand.h => drivers/mtd/nand/s3c2410.h | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) rename arch/arm/plat-samsung/include/plat/regs-nand.h => drivers/mtd/nand/s3c2410.h (96%) diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index d65cbe903d40..83fb4feb7556 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c @@ -46,8 +46,8 @@ #include #include -#include #include +#include "s3c2410.h" /* new oob placement block for use with hardware ecc generation */ diff --git a/arch/arm/plat-samsung/include/plat/regs-nand.h b/drivers/mtd/nand/s3c2410.h similarity index 96% rename from arch/arm/plat-samsung/include/plat/regs-nand.h rename to drivers/mtd/nand/s3c2410.h index 238efea7b9e4..f3b82d7053a0 100644 --- a/arch/arm/plat-samsung/include/plat/regs-nand.h +++ b/drivers/mtd/nand/s3c2410.h @@ -1,5 +1,4 @@ -/* arch/arm/mach-s3c2410/include/mach/regs-nand.h - * +/* * Copyright (c) 2004-2005 Simtec Electronics * http://www.simtec.co.uk/products/SWLINUX/ * @@ -10,8 +9,8 @@ * S3C2410 NAND register definitions */ -#ifndef __ASM_ARM_REGS_NAND -#define __ASM_ARM_REGS_NAND +#ifndef __S3C2410_NAND_H +#define __S3C2410_NAND_H #define S3C2410_NFREG(x) (x) @@ -117,7 +116,5 @@ #define S3C2412_NFECCERR_MULTIBIT (2) #define S3C2412_NFECCERR_ECCAREA (3) - - -#endif /* __ASM_ARM_REGS_NAND */ +#endif /* __S3C2410_NAND_H */