Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e01957ab authored by Andrew F. Davis's avatar Andrew F. Davis Committed by Sebastian Reichel
Browse files

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: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarAndrew F. Davis <afd@ti.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 3c13ab1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -511,7 +511,7 @@ X!Ilib/fonts/fonts.c
     </para>

!Iinclude/linux/hsi/hsi.h
!Edrivers/hsi/hsi.c
!Edrivers/hsi/hsi_core.c
  </chapter>

  <chapter id="pwm">
+2 −1
Original line number Diff line number Diff line
#
# Makefile for HSI
#
obj-$(CONFIG_HSI_BOARDINFO)	+= hsi_boardinfo.o
obj-$(CONFIG_HSI)		+= hsi.o
hsi-objs			:= hsi_core.o
hsi-$(CONFIG_HSI_BOARDINFO)	+= hsi_boardinfo.o
obj-y				+= controllers/
obj-y				+= clients/
+0 −0

File moved.