mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
drivers/rtc/rtc-efi.c: fix section mismatch warning
efi_rtc_init() uses platform_driver_probe(), so there's no need to also set efi_rtc_driver's probe member (as it won't be used anyway). This fixes a modpost section mismatch warning (as efi_rtc_probe() validly is __init). Signed-off-by: Jan Beulich <[email protected]> Cc: Matthew Garrett <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
bb58da08f0
commit
32050017cf
1 changed files with 0 additions and 1 deletions
|
|
@ -213,7 +213,6 @@ static struct platform_driver efi_rtc_driver = {
|
|||
.name = "rtc-efi",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = efi_rtc_probe,
|
||||
.remove = __exit_p(efi_rtc_remove),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue