Commit 96f7f6bd authored by Sachin Kamat's avatar Sachin Kamat Committed by Tejun Heo

ata: pata_samsung_cf: Move plat/regs-ata.h to drivers/ata

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 73993396
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/platform_data/ata-samsung_cf.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_NAME "pata_samsung_cf"
#define DRV_VERSION "0.1" #define DRV_VERSION "0.1"
......
/* linux/arch/arm/plat-samsung/include/plat/regs-ata.h /*
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd. * Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com * http://www.samsung.com
* *
...@@ -10,8 +9,8 @@ ...@@ -10,8 +9,8 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#ifndef __ASM_PLAT_REGS_ATA_H #ifndef __PATA_SAMSUNG_CF_H
#define __ASM_PLAT_REGS_ATA_H __FILE__ #define __PATA_SAMSUNG_CF_H
#define S3C_CFATA_REG(x) (x) #define S3C_CFATA_REG(x) (x)
...@@ -53,4 +52,4 @@ ...@@ -53,4 +52,4 @@
#define S3C_ATA_CFG_SWAP 0x40 #define S3C_ATA_CFG_SWAP 0x40
#define S3C_ATA_CFG_IORDYEN 0x02 #define S3C_ATA_CFG_IORDYEN 0x02
#endif /* __ASM_PLAT_REGS_ATA_H */ #endif /* __PATA_SAMSUNG_CF_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment