]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: sata: dw_sata: Rename the dwc_ahsata private header
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:35:09 +0000 (11:35 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:17 +0000 (16:44 +0900)
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>
drivers/ata/dwc_ahsata.c
drivers/ata/dwc_ahsata_priv.h [moved from drivers/ata/dwc_ahsata.h with 99% similarity]

index b6915d217b513422b01417a409caab62fff5aeba..8056bc94a3c5f2fc5b73163c3397d3e494c61d4a 100644 (file)
@@ -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;
similarity index 99%
rename from drivers/ata/dwc_ahsata.h
rename to drivers/ata/dwc_ahsata_priv.h
index caa2e501f9625f771b1315c4550aecfec171e95f..6089c0b268ded688824dcab616553c38ce67dc03 100644 (file)
@@ -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
 
 #define READ_CMD       0
 #define WRITE_CMD      1
 
-#endif /* __FSL_SATA_H__ */
+#endif /* __DWC_AHSATA_H__ */