[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:
parent
f1fa8a6c8e
commit
fa31cac213
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user