diff options
| author | Arnd Bergmann <[email protected]> | 2019-03-13 21:19:16 +0000 |
|---|---|---|
| committer | Olof Johansson <[email protected]> | 2019-04-07 22:29:55 +0000 |
| commit | 9a8f32038a74cb800e9649afbf4b3dba2b7d6539 (patch) | |
| tree | e4594942d1790c252bc1a2878c4490e72d4a2930 /drivers/hwmon/pwm-fan.c | |
| parent | ARM: iop: don't use using 64-bit DMA masks (diff) | |
| download | kernel-9a8f32038a74cb800e9649afbf4b3dba2b7d6539.tar.gz kernel-9a8f32038a74cb800e9649afbf4b3dba2b7d6539.zip | |
ARM: milbeaut: fix build with !CONFIG_HOTPLUG_CPU
When HOTPLUG_CPU is disabled, some fields in the smp operations
are not available or needed:
arch/arm/mach-milbeaut/platsmp.c:90:3: error: field designator 'cpu_die' does not refer to any field in type
'struct smp_operations'
.cpu_die = m10v_cpu_die,
^
arch/arm/mach-milbeaut/platsmp.c:91:3: error: field designator 'cpu_kill' does not refer to any field in type
'struct smp_operations'
.cpu_kill = m10v_cpu_kill,
^
Hide them in an #ifdef like the other platforms do.
Fixes: 9fb29c734f9e ("ARM: milbeaut: Add basic support for Milbeaut m10v SoC")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions
