common: Drop init.h from common header
[oweals/u-boot.git] / drivers / sysreset / sysreset_psci.c
index de2ec8aeb1ee73052e0ec5f03a6eb4dc3421c117..c7907b3226d96193c741f9bd56404051234b2a7a 100644 (file)
@@ -18,7 +18,7 @@ static int psci_sysreset_request(struct udevice *dev, enum sysreset_t type)
        case SYSRESET_COLD:
                function_id = PSCI_0_2_FN_SYSTEM_RESET;
                break;
-       case SYSRESET_POWER:
+       case SYSRESET_POWER_OFF:
                function_id = PSCI_0_2_FN_SYSTEM_OFF;
                break;
        default: