--- zzzz-none-000/linux-3.10.107/arch/sh/kernel/cpu/sh4/sq.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/sh/kernel/cpu/sh4/sq.c 2021-02-04 17:41:59.000000000 +0000 @@ -355,13 +355,12 @@ return error; } -static int sq_dev_remove(struct device *dev, struct subsys_interface *sif) +static void sq_dev_remove(struct device *dev, struct subsys_interface *sif) { unsigned int cpu = dev->id; struct kobject *kobj = sq_kobject[cpu]; kobject_put(kobj); - return 0; } static struct subsys_interface sq_interface = {