memory: move jedec_ddr.h from include/memory to drivers/memory/
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 3 Jun 2019 08:12:33 +0000 (17:12 +0900)
committerOlof Johansson <olof@lixom.net>
Mon, 17 Jun 2019 11:45:21 +0000 (04:45 -0700)
commit5ec47cda74e98ad2f723f93b4a97ba87638338aa
treeed3e9856fce5d3474844ad12bdd664716e7597c7
parent7b43b8fdc9a6283c0b9405542c4406cfa1e5689a
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>
drivers/memory/emif.c
drivers/memory/jedec_ddr.h [moved from include/memory/jedec_ddr.h with 97% similarity]
drivers/memory/jedec_ddr_data.c
drivers/memory/of_memory.c