clk: bd718x7: Add MODULE_ALIAS()
authorGuido Günther <agx@sigxcpu.org>
Mon, 30 Sep 2019 20:26:01 +0000 (22:26 +0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 3 Oct 2019 17:51:11 +0000 (10:51 -0700)
This fixes device probing when built as a module.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Link: https://lkml.kernel.org/r/e1d01b68cdf7dbff9bdd03bab953f828431ad292.1569875042.git.agx@sigxcpu.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-bd718x7.c

index ae6e5ba..00926c5 100644 (file)
@@ -133,3 +133,4 @@ module_platform_driver(bd71837_clk);
 MODULE_AUTHOR("Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>");
 MODULE_DESCRIPTION("BD71837/BD71847/BD70528 chip clk driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:bd718xx-clk");