]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ata: pata_samsung_cf: Move plat/regs-ata.h to drivers/ata
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 31 Dec 2013 05:29:13 +0000 (10:59 +0530)
committerTejun Heo <tj@kernel.org>
Tue, 31 Dec 2013 11:32:05 +0000 (06:32 -0500)
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 <sachin.kamat@linaro.org>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_samsung_cf.c
drivers/ata/pata_samsung_cf.h [moved from arch/arm/plat-samsung/include/plat/regs-ata.h with 91% similarity]

index 898e544a7ae8791cb52524bb6f175be61410cd63..e04d70b7ce765dcbff4f9500ce7b905661bcfed2 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/slab.h>
 
 #include <linux/platform_data/ata-samsung_cf.h>
-#include <plat/regs-ata.h>
+#include "pata_samsung_cf.h"
 
 #define DRV_NAME "pata_samsung_cf"
 #define DRV_VERSION "0.1"
similarity index 91%
rename from arch/arm/plat-samsung/include/plat/regs-ata.h
rename to drivers/ata/pata_samsung_cf.h
index f5df92fdae267ffb46eb59bb12365c3d642bc662..eeefe2e0cdc63080eb3244955af4ae012ff08f1c 100644 (file)
@@ -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 */