Forum | Documentation | Website | Blog

Skip to content
  • Linus Walleij's avatar
    rtc: fix coh901331 startup crash · 9cf3b5fa
    Linus Walleij authored
    
    
    The rtc_device_register() call has changed semantics so that it
    will immediately call out to rtc_read_alarm() and since the
    callbacks require the drvdata to be set, we need to set it before
    the registration call to avoid NULL dereference.
    
    Signed-off-by: default avatarLinus Walleij <[email protected]>
    9cf3b5fa
Loading