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

Commit 6c74e7d3 authored by Ryan Harkin's avatar Ryan Harkin Committed by Amit Pundir
Browse files

drivers/base: cpu: fix CPU_AUTOPROBE



Use CONFIG_HAVE_CPU_AUTOPROBE instead of CONFIG_ARCH_HAS_CPU_AUTOPROBE

Signed-off-by: default avatarRyan Harkin <ryan.harkin@linaro.org>
Signed-off-by: default avatarJon Medhurst <tixy@linaro.org>
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent e384789b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -346,7 +346,7 @@ int register_cpu(struct cpu *cpu, int num)
	cpu->dev.offline_disabled = !cpu->hotpluggable;
	cpu->dev.offline = !cpu_online(num);
	cpu->dev.of_node = of_get_cpu_node(num, NULL);
#ifdef CONFIG_ARCH_HAS_CPU_AUTOPROBE
#ifdef CONFIG_HAVE_CPU_AUTOPROBE
	cpu->dev.bus->uevent = cpu_uevent;
#endif
	cpu->dev.groups = common_cpu_attr_groups;