]> Git Repo - linux.git/blobdiff - drivers/watchdog/qcom-wdt.c
nbd: add the check to prevent overflow in __nbd_ioctl()
[linux.git] / drivers / watchdog / qcom-wdt.c
index e38a87ffe5f5f23d23be1170effffa6920da52dd..0d2209c5eaca746b93d177923348a0fbb0705e9d 100644 (file)
@@ -329,7 +329,9 @@ static int __maybe_unused qcom_wdt_resume(struct device *dev)
        return 0;
 }
 
-static SIMPLE_DEV_PM_OPS(qcom_wdt_pm_ops, qcom_wdt_suspend, qcom_wdt_resume);
+static const struct dev_pm_ops qcom_wdt_pm_ops = {
+       SET_LATE_SYSTEM_SLEEP_PM_OPS(qcom_wdt_suspend, qcom_wdt_resume)
+};
 
 static const struct of_device_id qcom_wdt_of_table[] = {
        { .compatible = "qcom,kpss-timer", .data = &match_data_apcs_tmr },
This page took 0.033551 seconds and 4 git commands to generate.