From patchwork Thu Mar 8 09:10:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: rtc-efi: fix section mismatch warning Date: Wed, 07 Mar 2012 23:10:02 -0000 From: Jan Beulich X-Patchwork-Id: 145470 Message-Id: <4F58857A02000078000770D4@nat28.tlf.novell.com> To: Cc: , 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 Cc: Matthew Garrett --- drivers/rtc/rtc-efi.c | 1 - 1 file changed, 1 deletion(-) --- 3.3-rc6/drivers/rtc/rtc-efi.c +++ 3.3-rc6-efi-rtc-probe/drivers/rtc/rtc-efi.c @@ -213,7 +213,6 @@ static struct platform_driver efi_rtc_dr .name = "rtc-efi", .owner = THIS_MODULE, }, - .probe = efi_rtc_probe, .remove = __exit_p(efi_rtc_remove), };