diff options
author | Andrii Tseglytskyi <andrii.tseglytskyi@ti.com> | 2013-05-30 12:08:36 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2013-06-10 19:35:17 +0200 |
commit | 33da28246f8cba3f1ffbca9434622d93afcde013 (patch) | |
tree | df443b17c97f82a2e832c9f050e8dc5de51f410c /drivers/power/avs/smartreflex.c | |
parent | PM / AVS: SmartReflex: disable runtime PM on driver remove (diff) | |
download | linux-33da28246f8cba3f1ffbca9434622d93afcde013.tar.xz linux-33da28246f8cba3f1ffbca9434622d93afcde013.zip |
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>
Diffstat (limited to 'drivers/power/avs/smartreflex.c')
-rw-r--r-- | drivers/power/avs/smartreflex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/power/avs/smartreflex.c b/drivers/power/avs/smartreflex.c index 9b566482be38..002005ee48d2 100644 --- a/drivers/power/avs/smartreflex.c +++ b/drivers/power/avs/smartreflex.c @@ -27,6 +27,7 @@ #include <linux/pm_runtime.h> #include <linux/power/smartreflex.h> +#define DRIVER_NAME "smartreflex" #define SMARTREFLEX_NAME_LEN 16 #define NVALUE_NAME_LEN 40 #define SR_DISABLE_TIMEOUT 200 @@ -1070,7 +1071,7 @@ static struct platform_driver smartreflex_driver = { .remove = omap_sr_remove, .shutdown = omap_sr_shutdown, .driver = { - .name = "smartreflex", + .name = DRIVER_NAME, }, }; |