hsi: Build hsi_boardinfo.c into hsi core if enabled
authorAndrew F. Davis <afd@ti.com>
Tue, 14 Jun 2016 16:13:04 +0000 (11:13 -0500)
committerSebastian Reichel <sre@kernel.org>
Wed, 15 Jun 2016 14:02:50 +0000 (16:02 +0200)
commite01957abd4cb3816a1eaaf191b16de182ebb333e
tree17e4e4cdae2b6bcf4d8a6353cc592228147b8f4d
parent3c13ab1d96e1924ef73b1a20c1ccccc993b6fb58
hsi: Build hsi_boardinfo.c into hsi core if enabled

If the HSI core is built as a module hsi_boardinfo may still
be built-in as its Kconfig type is bool, which can cause build
issues. Fix this by building this code into the HSI core when
enabled.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Documentation/DocBook/device-drivers.tmpl
drivers/hsi/Makefile
drivers/hsi/hsi_core.c [moved from drivers/hsi/hsi.c with 100% similarity]