Skip to content

Commit ca4df75

Browse files
authored
[centec][arm64] fix tsingma bsp compile error (#12774) (#12944)
1 parent 61f1428 commit ca4df75

File tree

1 file changed

+2
-2
lines changed
  • platform/centec-arm64/tsingma-bsp/src/ctc_wdt

1 file changed

+2
-2
lines changed

platform/centec-arm64/tsingma-bsp/src/ctc_wdt/ctc_wdt.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,14 +345,14 @@ static int ctc_wdt_probe(struct amba_device *adev, const struct amba_id *id)
345345
return ret;
346346
}
347347

348-
static int ctc_wdt_remove(struct amba_device *adev)
348+
static void ctc_wdt_remove(struct amba_device *adev)
349349
{
350350
struct ctc_wdt *wdt = amba_get_drvdata(adev);
351351

352352
watchdog_unregister_device(&wdt->wdd);
353353
watchdog_set_drvdata(&wdt->wdd, NULL);
354354

355-
return 0;
355+
return;
356356
}
357357

358358
static int __maybe_unused ctc_wdt_suspend(struct device *dev)

0 commit comments

Comments
 (0)