--- zzzz-none-000/linux-3.10.107/arch/arm/mach-pxa/stargate2.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/mach-pxa/stargate2.c 2021-02-04 17:41:59.000000000 +0000 @@ -27,7 +27,7 @@ #include #include -#include +#include #include #include #include @@ -734,9 +734,10 @@ * * Very simple control. Either it is on or off and is controlled by * a gpio pin */ -static void stargate2_mci_setpower(struct device *dev, unsigned int vdd) +static int stargate2_mci_setpower(struct device *dev, unsigned int vdd) { gpio_set_value(SG2_SD_POWER_ENABLE, !!vdd); + return 0; } static void stargate2_mci_exit(struct device *dev, void *data)