Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. --- rtc-sun6i.c.orig 2019-08-21 12:19:13.355706564 +0200
  2. +++ rtc-sun6i.c 2019-08-21 12:20:09.923704759 +0200
  3. @@ -685,6 +685,8 @@ static int sun6i_rtc_probe(struct platfo
  4.  
  5. clk_prepare_enable(chip->losc);
  6.  
  7. + device_init_wakeup(&pdev->dev, 1);
  8. +
  9. chip->rtc = devm_rtc_device_register(&pdev->dev, "rtc-sun6i",
  10. &sun6i_rtc_ops, THIS_MODULE);
  11. if (IS_ERR(chip->rtc)) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement