Commit 32050017 authored by Jan Beulich's avatar Jan Beulich Committed by Linus Torvalds

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: default avatarJan Beulich <jbeulich@suse.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bb58da08
...@@ -213,7 +213,6 @@ static struct platform_driver efi_rtc_driver = { ...@@ -213,7 +213,6 @@ static struct platform_driver efi_rtc_driver = {
.name = "rtc-efi", .name = "rtc-efi",
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = efi_rtc_probe,
.remove = __exit_p(efi_rtc_remove), .remove = __exit_p(efi_rtc_remove),
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment