[centec][arm64] fix tsingma bsp compile error (#12774) (#12944)

This commit is contained in:
mssonicbld 2022-12-05 22:03:13 +08:00 committed by GitHub
parent 61f1428eb3
commit ca4df757a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -345,14 +345,14 @@ err:
return ret;
}
static int ctc_wdt_remove(struct amba_device *adev)
static void ctc_wdt_remove(struct amba_device *adev)
{
struct ctc_wdt *wdt = amba_get_drvdata(adev);
watchdog_unregister_device(&wdt->wdd);
watchdog_set_drvdata(&wdt->wdd, NULL);
return 0;
return;
}
static int __maybe_unused ctc_wdt_suspend(struct device *dev)