diff options
| author | Borislav Petkov <[email protected]> | 2018-10-05 15:13:07 +0200 | 
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2018-10-06 20:40:43 +0200 | 
| commit | fa112cf1e8bc693d5a666b1c479a2859c8b6e0f1 (patch) | |
| tree | d586d2f5952e49513a5a2317e8062276c887c407 /drivers/cpufreq/cppc_cpufreq.c | |
| parent | d92116b800fb79a72ad26121f5011f6aa3ad94c2 (diff) | |
x86/olpc: Fix build error with CONFIG_MFD_CS5535=m
When building a 32-bit config which has the above MFD item as module
but OLPC_XO1_PM is enabled =y - which is bool, btw - the kernel fails
building with:
  ld: arch/x86/platform/olpc/olpc-xo1-pm.o: in function `xo1_pm_remove':
  /home/boris/kernel/linux/arch/x86/platform/olpc/olpc-xo1-pm.c:159: undefined reference to `mfd_cell_disable'
  ld: arch/x86/platform/olpc/olpc-xo1-pm.o: in function `xo1_pm_probe':
  /home/boris/kernel/linux/arch/x86/platform/olpc/olpc-xo1-pm.c:133: undefined reference to `mfd_cell_enable'
  make: *** [Makefile:1030: vmlinux] Error 1
Force MFD_CS5535 to y if OLPC_XO1_PM is enabled.
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Lubomir Rintel <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/cpufreq/cppc_cpufreq.c')
0 files changed, 0 insertions, 0 deletions