diff options
author | Miguel Vadillo <vadillo@ti.com> | 2011-07-05 20:58:02 -0500 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-07-20 17:34:32 -0700 |
commit | fce1d8835485265fc4fefaa83d94d224aecbb89b (patch) | |
tree | b6e2f167c18487b2620195753714406b5be02c7f /arch/arm | |
parent | 9208332f7b34f4761d47c8c5e0178becdf3783c7 (diff) | |
download | kernel_samsung_tuna-fce1d8835485265fc4fefaa83d94d224aecbb89b.zip kernel_samsung_tuna-fce1d8835485265fc4fefaa83d94d224aecbb89b.tar.gz kernel_samsung_tuna-fce1d8835485265fc4fefaa83d94d224aecbb89b.tar.bz2 |
omap: rpres: skip the creation of already created devices
Some devices like:
- iva
- dsp
- fdif
are being created for pm purposes and create them again
is not recommended. For these devices the pm framework is
exporting api's to get them.
If a resource is already created use the api to get the
device and add the platform data and information needed
for rpres to control such device.
Change-Id: I6640883f911f4c21d204c20ded1ced104af5ed7c
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-omap/include/plat/rpres.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/rpres.h b/arch/arm/plat-omap/include/plat/rpres.h index a1e8c7b..0dfb781 100644 --- a/arch/arm/plat-omap/include/plat/rpres.h +++ b/arch/arm/plat-omap/include/plat/rpres.h @@ -40,6 +40,7 @@ struct rpres_platform_data { struct rpres_ops *ops; struct clk *opt_clk; const char *opt_clk_name; + struct device *(*get_dev)(void); }; struct rpres { |