summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-07-29 17:35:09 (GMT)
committerJaehoon Chung <jh80.chung@samsung.com>2017-08-17 07:44:17 (GMT)
commit90abb28fcfc00d5396000bcda8a8ce871b8412ff (patch)
tree4aac2693ef495a013993c11c03ba9d947a33d94b
parent0f07df4301528fe51efa10a6559450632ef35ce7 (diff)
downloadu-boot-90abb28fcfc00d5396000bcda8a8ce871b8412ff.tar.xz
dm: sata: dw_sata: Rename the dwc_ahsata private header
Rename dwc_ahsata.h to indicate that it is a private header file. We plan to create another header with some public functions. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--drivers/ata/dwc_ahsata.c2
-rw-r--r--drivers/ata/dwc_ahsata_priv.h (renamed from drivers/ata/dwc_ahsata.h)6
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/dwc_ahsata.c b/drivers/ata/dwc_ahsata.c
index b6915d2..8056bc9 100644
--- a/drivers/ata/dwc_ahsata.c
+++ b/drivers/ata/dwc_ahsata.c
@@ -17,7 +17,7 @@
#include <linux/bitops.h>
#include <linux/ctype.h>
#include <linux/errno.h>
-#include "dwc_ahsata.h"
+#include "dwc_ahsata_priv.h"
struct sata_port_regs {
u32 clb;
diff --git a/drivers/ata/dwc_ahsata.h b/drivers/ata/dwc_ahsata_priv.h
index caa2e50..6089c0b 100644
--- a/drivers/ata/dwc_ahsata.h
+++ b/drivers/ata/dwc_ahsata_priv.h
@@ -5,8 +5,8 @@
* SPDX-License-Identifier: GPL-2.0+
*/
-#ifndef __FSL_SATA_H__
-#define __FSL_SATA_H__
+#ifndef __DWC_AHSATA_PRIV_H__
+#define __DWC_AHSATA_PRIV_H__
#define DWC_AHSATA_MAX_CMD_SLOTS 32
@@ -317,4 +317,4 @@
#define READ_CMD 0
#define WRITE_CMD 1
-#endif /* __FSL_SATA_H__ */
+#endif /* __DWC_AHSATA_H__ */