Skip to content

Commit

Permalink
ata: pata_samsung_cf: Move plat/regs-ata.h to drivers/ata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Tejun Heo committed Dec 31, 2013
1 parent 7399339 commit 96f7f6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion drivers/ata/pata_samsung_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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
*
Expand All @@ -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)

Expand Down Expand Up @@ -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 */

0 comments on commit 96f7f6b

Please sign in to comment.