fix:memory:of_memory:add missing header dependencies
authorBaoyou Xie <baoyou.xie@linaro.org>
Sat, 27 Aug 2016 17:31:28 +0000 (01:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 13:21:18 +0000 (15:21 +0200)
commitaeb83d7054de0180c4f4b8df7d5c75cc60277558
tree356aab3c35805f03d82c55ec6ba218b3a2adb56c
parent148a1bc84398039e2b96ff78678c4d9a67f81452
fix:memory:of_memory:add missing header dependencies

We get 2 warnings when biuld kernel with W=1:
drivers/memory/of_memory.c:30:30: warning: no previous prototype for 'of_get_min_tck' [-Wmissing-prototypes]
drivers/memory/of_memory.c:106:30: warning: no previous prototype for 'of_get_ddr_timings' [-Wmissing-prototypes]

In fact, these functions are declared in drivers/memory/of_memory.h
so this patch add missing header dependencies.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/memory/of_memory.c