From patchwork Tue Dec 31 05:29:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 22826 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E04E5218CC for ; Tue, 31 Dec 2013 05:32:55 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id hz1sf38839096pad.0 for ; Mon, 30 Dec 2013 21:32:54 -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=KD/2GT5uD6h3R6d7x38bJEo6k4OU6DcMrDiJkFg6vPQ=; b=TlePVc0m+v+qw66r4A4X/ertsunp6WnvnZF0C4eG6ZR9qcU2Dt8dxyKcZtqirnG6df m6zpi7lvFifCHj03W5gtETxrKmgLhdjO9HHIJOtueZQPKGVwo/B6VC5aDPzrNT2HqFV/ rUruWnrPaaoQ/FOqsJNYGC5JSUY7MCo35OEUhb9RovGX6eGoB4rXJL8HyYRzCT1kvftm h3YN10fF4B/4FgHPlwr5Gtqz9TxXCLm9kNR+1XHcTLZE6qBpLP7hjv74+8DZbGEUL9aI EOPd6l1nYd/pr9bMez0To4jUnoMENQW2v6iCh1s2TVs2qZ22MqWGU+7UjI3C3A9I17qF sS+g== X-Gm-Message-State: ALoCoQnTRuA23h/3i0VJf11HHdgrUNmzGm6ulSSo67UurTBcuGv74SKDpmuqsPTA8dXZ0lTing5D X-Received: by 10.66.154.199 with SMTP id vq7mr22576497pab.5.1388467974860; Mon, 30 Dec 2013 21:32:54 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.36.136 with SMTP id q8ls3650640qej.36.gmail; Mon, 30 Dec 2013 21:32:54 -0800 (PST) X-Received: by 10.58.133.16 with SMTP id oy16mr618640veb.74.1388467974759; Mon, 30 Dec 2013 21:32:54 -0800 (PST) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id io6si2845564vdb.39.2013.12.30.21.32.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 21:32:54 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.177 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.177; Received: by mail-ve0-f177.google.com with SMTP id db12so6121050veb.8 for ; Mon, 30 Dec 2013 21:32:54 -0800 (PST) X-Received: by 10.58.172.130 with SMTP id bc2mr667149vec.71.1388467974529; Mon, 30 Dec 2013 21:32:54 -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 ey3csp644735ved; Mon, 30 Dec 2013 21:32:54 -0800 (PST) X-Received: by 10.68.172.65 with SMTP id ba1mr73520521pbc.18.1388467973646; Mon, 30 Dec 2013 21:32:53 -0800 (PST) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by mx.google.com with ESMTPS id sz7si34082061pab.58.2013.12.30.21.32.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 21:32:53 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.45 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.45; Received: by mail-pa0-f45.google.com with SMTP id fb1so12338378pad.18 for ; Mon, 30 Dec 2013 21:32:53 -0800 (PST) X-Received: by 10.66.217.166 with SMTP id oz6mr73158812pac.22.1388467973114; Mon, 30 Dec 2013 21:32:53 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id jn12sm85452449pbd.37.2013.12.30.21.32.49 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 21:32:51 -0800 (PST) From: Sachin Kamat To: linux-ide@vger.kernel.org Cc: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, tj@kernel.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] ata: pata_samsung_cf: Move plat/regs-ata.h to drivers/ata Date: Tue, 31 Dec 2013 10:59:13 +0530 Message-Id: <1388467753-24431-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.177 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-ata.h is used only by Samsung PATA driver. Move this file to the drivers folder to remove platform dependency required for multiplatform support. Signed-off-by: Sachin Kamat --- drivers/ata/pata_samsung_cf.c | 2 +- .../regs-ata.h => drivers/ata/pata_samsung_cf.h | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) rename arch/arm/plat-samsung/include/plat/regs-ata.h => drivers/ata/pata_samsung_cf.h (91%) diff --git a/drivers/ata/pata_samsung_cf.c b/drivers/ata/pata_samsung_cf.c index 898e544a7ae8..e04d70b7ce76 100644 --- a/drivers/ata/pata_samsung_cf.c +++ b/drivers/ata/pata_samsung_cf.c @@ -24,7 +24,7 @@ #include #include -#include +#include "pata_samsung_cf.h" #define DRV_NAME "pata_samsung_cf" #define DRV_VERSION "0.1" diff --git a/arch/arm/plat-samsung/include/plat/regs-ata.h b/drivers/ata/pata_samsung_cf.h similarity index 91% rename from arch/arm/plat-samsung/include/plat/regs-ata.h rename to drivers/ata/pata_samsung_cf.h index f5df92fdae26..eeefe2e0cdc6 100644 --- a/arch/arm/plat-samsung/include/plat/regs-ata.h +++ b/drivers/ata/pata_samsung_cf.h @@ -1,5 +1,4 @@ -/* linux/arch/arm/plat-samsung/include/plat/regs-ata.h - * +/* * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com * @@ -10,8 +9,8 @@ * published by the Free Software Foundation. */ -#ifndef __ASM_PLAT_REGS_ATA_H -#define __ASM_PLAT_REGS_ATA_H __FILE__ +#ifndef __PATA_SAMSUNG_CF_H +#define __PATA_SAMSUNG_CF_H #define S3C_CFATA_REG(x) (x) @@ -53,4 +52,4 @@ #define S3C_ATA_CFG_SWAP 0x40 #define S3C_ATA_CFG_IORDYEN 0x02 -#endif /* __ASM_PLAT_REGS_ATA_H */ +#endif /* __PATA_SAMSUNG_CF_H */