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: 3421461 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 89C809F37A for ; Tue, 31 Dec 2013 05:32:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8BFDC200F2 for ; Tue, 31 Dec 2013 05:32:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BF4C82011B for ; Tue, 31 Dec 2013 05:32:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750830Ab3LaFcy (ORCPT ); Tue, 31 Dec 2013 00:32:54 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:46463 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750746Ab3LaFcx (ORCPT ); Tue, 31 Dec 2013 00:32:53 -0500 Received: by mail-pa0-f52.google.com with SMTP id ld10so12394530pab.39 for ; Mon, 30 Dec 2013 21:32:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KD/2GT5uD6h3R6d7x38bJEo6k4OU6DcMrDiJkFg6vPQ=; b=fPtRnfj6O5I+C64YZVU+Pu6/uD7r7gb4Gp9FVy/Y7nUr684Ie9ieD/cfCI1pnnqmjE EkvZ2Ww6RFUb3ehE1keGP8Fb7zohhiiQ8lPxMUlM96ZacgCATF8xEXLxm9WnYhn7DkUB WO+o55XAptfAfDFXk9HD3PuPsiWv9qMhZmYq1SYhmmVCHZPFWYvaZIW3879e3x+zEjrE 2mbvY3JBaAvOfUr52VGnq7hMjfhXbdj7EcHL9ZgDJgupMY2Kmr/cKzLE7fHZWg7h1Q1N Vdit6b1GhMYp8mNHFwgwXNNhSDV7Vjg7BzpNrIIVl/ESwZsgr7suqayKVTViQdY1wAPh GHaw== X-Gm-Message-State: ALoCoQmkRWrqFHASq1o28aD8VIfHY2FI2neKetL4H82Rz1NWaEtDql+FoSRSBBGTId2J/uCU3hBL 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 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.0 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 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 Reviewed-by: Jingoo Han --- 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 */