Re: [PATCH] efi: rtc-efi: export platform:rtc-efi as module alias

From: Matt Fleming
Date: Sun Sep 14 2014 - 09:58:59 EST


(Cc'ing rtc maintainer, list and akpm)

On Thu, 11 Sep, at 10:20:40AM, Ard Biesheuvel wrote:
> When the rtc-efi driver is built as a module, we already register the
> EFI rtc as a platform device if UEFI Runtime Services are enabled.
> To wire it up to udev, and let the module be loaded automatically, we
> need to export the 'platform:rtc-efi' alias from the module.
>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
> ---
> drivers/rtc/rtc-efi.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/rtc/rtc-efi.c b/drivers/rtc/rtc-efi.c
> index 8225b89de810..59a55e7abf78 100644
> --- a/drivers/rtc/rtc-efi.c
> +++ b/drivers/rtc/rtc-efi.c
> @@ -235,3 +235,4 @@ module_platform_driver_probe(efi_rtc_driver, efi_rtc_probe);
> MODULE_AUTHOR("dann frazier <dannf@xxxxxx>");
> MODULE_LICENSE("GPL");
> MODULE_DESCRIPTION("EFI RTC driver");
> +MODULE_ALIAS("platform:rtc-efi");
> --
> 1.8.3.2

I haven't picked up any rtc-efi patches before. They appear to have gone
through akpm in the past.

Andrew, would you mind picking this one up?

--
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/