diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-12-31 10:59:13 +0530 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-12-31 06:32:05 -0500 |
commit | 96f7f6bd855cc47988e3efb1efc4926404ae6f60 (patch) | |
tree | 18a4a3de6c834d748c998865bb98bcc25a460351 | |
parent | 73993396d8591580f03fe0ee9c6cc5ea8fa09928 (diff) | |
download | op-kernel-dev-96f7f6bd855cc47988e3efb1efc4926404ae6f60.zip op-kernel-dev-96f7f6bd855cc47988e3efb1efc4926404ae6f60.tar.gz |
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: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r-- | drivers/ata/pata_samsung_cf.c | 2 | ||||
-rw-r--r-- | drivers/ata/pata_samsung_cf.h (renamed from arch/arm/plat-samsung/include/plat/regs-ata.h) | 9 |
2 files changed, 5 insertions, 6 deletions
diff --git a/drivers/ata/pata_samsung_cf.c b/drivers/ata/pata_samsung_cf.c index 898e544..e04d70b 100644 --- a/drivers/ata/pata_samsung_cf.c +++ b/drivers/ata/pata_samsung_cf.c @@ -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" diff --git a/arch/arm/plat-samsung/include/plat/regs-ata.h b/drivers/ata/pata_samsung_cf.h index f5df92f..eeefe2e 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 */ |