efi: rtc-efi: Export platform:rtc-efi as module alias
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 11 Sep 2014 08:20:40 +0000 (10:20 +0200)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 3 Oct 2014 17:41:04 +0000 (18:41 +0100)
commit3f71f6da7791a5feae0ff07e718431d1df01273a
treebfaa89f41095b742cb080be12cd571bf8f7790e9
parent60b4dc7720a5251f5dbda69ad404e0bcb3cb6bfb
efi: rtc-efi: Export platform:rtc-efi as module alias

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@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Mark Salter <msalter@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/rtc/rtc-efi.c