aboutsummaryrefslogtreecommitdiffstats
path: root/include/memory/jedec_ddr.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-03 17:12:33 +0900
committerOlof Johansson <olof@lixom.net>2019-06-17 04:45:21 -0700
commit5ec47cda74e98ad2f723f93b4a97ba87638338aa (patch)
treeed3e9856fce5d3474844ad12bdd664716e7597c7 /include/memory/jedec_ddr.h
parentmemory: move jedec_ddr_data.c from lib/ to drivers/memory/ (diff)
downloadlinux-dev-5ec47cda74e98ad2f723f93b4a97ba87638338aa.tar.xz
linux-dev-5ec47cda74e98ad2f723f93b4a97ba87638338aa.zip
memory: move jedec_ddr.h from include/memory to drivers/memory/
Now that jedec_ddr_data.c was moved from lib/ to drivers/memory/, <memory/jedec_ddr.h> is included only from drivers/memory/. Make it a local header of drivers/memory/. The directory include/memory is now gone. While I am here, I also changed #include <linux/module.h> to <linux/export.h>. Because CONFIG_DDR is bool, jedec_ddr_data.c is never compiled as a module. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to '')
-rw-r--r--drivers/memory/jedec_ddr.h (renamed from include/memory/jedec_ddr.h)6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/memory/jedec_ddr.h b/drivers/memory/jedec_ddr.h
index ddad0f870e5d..a2094a9a588e 100644
--- a/include/memory/jedec_ddr.h
+++ b/drivers/memory/jedec_ddr.h
@@ -9,8 +9,8 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#ifndef __LINUX_JEDEC_DDR_H
-#define __LINUX_JEDEC_DDR_H
+#ifndef __JEDEC_DDR_H
+#define __JEDEC_DDR_H
#include <linux/types.h>
@@ -172,4 +172,4 @@ extern const struct lpddr2_timings
lpddr2_jedec_timings[NUM_DDR_TIMING_TABLE_ENTRIES];
extern const struct lpddr2_min_tck lpddr2_jedec_min_tck;
-#endif /* __LINUX_JEDEC_DDR_H */
+#endif /* __JEDEC_DDR_H */