Skip to content

Commit 33da282

Browse files
andriitKevin Hilman
authored andcommitted
PM / AVS: SmartReflex: fix driver name
DRIVER_NAME was undefined for SmartReflex. Now it is defined with valid value "smartreflex". It is needed to define proper value for: MODULE_ALIAS("platform:" DRIVER_NAME); Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com> Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Kevin Hilman <khilman@linaro.org>
1 parent bd4a36b commit 33da282

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/power/avs/smartreflex.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include <linux/pm_runtime.h>
2828
#include <linux/power/smartreflex.h>
2929

30+
#define DRIVER_NAME "smartreflex"
3031
#define SMARTREFLEX_NAME_LEN 16
3132
#define NVALUE_NAME_LEN 40
3233
#define SR_DISABLE_TIMEOUT 200
@@ -1070,7 +1071,7 @@ static struct platform_driver smartreflex_driver = {
10701071
.remove = omap_sr_remove,
10711072
.shutdown = omap_sr_shutdown,
10721073
.driver = {
1073-
.name = "smartreflex",
1074+
.name = DRIVER_NAME,
10741075
},
10751076
};
10761077

0 commit comments

Comments
 (0)