[PATCH] rtc-efi: Add missing module alias

From: Pali RohÃr
Date: Mon Sep 22 2014 - 10:14:38 EST


Without proper alias kernel module is not loaded for rtc-efi driver

Signed-off-by: Pali RohÃr <pali.rohar@xxxxxxxxx>
---
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 8225b89..c384fec 100644
--- a/drivers/rtc/rtc-efi.c
+++ b/drivers/rtc/rtc-efi.c
@@ -232,6 +232,7 @@ static struct platform_driver efi_rtc_driver = {

module_platform_driver_probe(efi_rtc_driver, efi_rtc_probe);

+MODULE_ALIAS("platform:rtc-efi");
MODULE_AUTHOR("dann frazier <dannf@xxxxxx>");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("EFI RTC driver");
--
1.7.9.5

--
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/