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

fix centec arm64 tsingma bsp compile error caused by linux kernel api change
This commit is contained in:
LuiSzee 2022-12-04 15:05:59 +08:00 committed by GitHub
parent 3ef7b560ec
commit cd12486316
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)