[PATCH 2/2] clk: bd718x7: Add MODULE_ALIAS()

From: Guido GÃnther
Date: Mon Sep 30 2019 - 16:43:48 EST


This fixes device probing when built as a module.

Signed-off-by: Guido GÃnther <agx@xxxxxxxxxxx>
---
drivers/clk/clk-bd718x7.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk-bd718x7.c b/drivers/clk/clk-bd718x7.c
index ae6e5baee330..00926c587390 100644
--- a/drivers/clk/clk-bd718x7.c
+++ b/drivers/clk/clk-bd718x7.c
@@ -133,3 +133,4 @@ module_platform_driver(bd71837_clk);
MODULE_AUTHOR("Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx>");
MODULE_DESCRIPTION("BD71837/BD71847/BD70528 chip clk driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:bd718xx-clk");
--
2.23.0.rc1