diff options
author | Jean Pihet <j-pihet@ti.com> | 2012-04-24 09:11:27 +0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-06-01 03:03:44 +0400 |
commit | 8b765d727d711650ab3521411fd48a0d8f62a84c (patch) | |
tree | e20803fa5d17ad670a016db4ae7a7d5146de9944 /arch/arm/mach-omap2/sr_device.c | |
parent | 80821c9c90427dd0f9274a82f9d69e43300d10bb (diff) | |
download | linux-8b765d727d711650ab3521411fd48a0d8f62a84c.tar.xz |
ARM: OMAP2+: smartreflex: Use the names from hwmod data instead of voltage domains.
Associate a name with each SmartReflex instance from the hwmod data,
rather than attempting to reuse the name of a voltage domain. The name
from hwmod better reflects the smartreflex integration in the system.
Also have the name passed to the drivers using pdata, which helps to remove
any dependencies on SoC-specific structures.
Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/sr_device.c')
-rw-r--r-- | arch/arm/mach-omap2/sr_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/sr_device.c b/arch/arm/mach-omap2/sr_device.c index 86e438e75105..e081174f28af 100644 --- a/arch/arm/mach-omap2/sr_device.c +++ b/arch/arm/mach-omap2/sr_device.c @@ -93,6 +93,7 @@ static int __init sr_dev_init(struct omap_hwmod *oh, void *user) goto exit; } + sr_data->name = oh->name; sr_data->ip_type = oh->class->rev; sr_data->senn_mod = 0x1; sr_data->senp_mod = 0x1; |