
13 Oct
2017
13 Oct
'17
1:01 p.m.
Hi Marek,
2017-10-13 19:40 GMT+09:00 Marek Vasut marex@denx.de:
On 10/13/2017 12:21 PM, Masahiro Yamada wrote:
Including <common.h> pulls in a lot of bloat. What this driver needs is BIT(), so replace it with <linux/bitops.h>
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
Doesn't common.h also pull in the config macros ? Maybe they are not needed here though ...
If you need legacy CONFIG from include/configs/<board>.h, yes, you need to include <common.h> (or <config.h> at least)
Recent CONFIG options from Kconfig are automatically provided via -include $(srctree)/include/linux/kconfig.h
--
Best Regards
Masahiro Yamada