mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
7b43b8fdc9
commit
5ec47cda74
4 changed files with 10 additions and 7 deletions
|
@ -10,8 +10,9 @@
|
|||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <memory/jedec_ddr.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/export.h>
|
||||
|
||||
#include "jedec_ddr.h"
|
||||
|
||||
/* LPDDR2 addressing details from JESD209-2 section 2.4 */
|
||||
const struct lpddr2_addressing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue