Re: [PATCHv3 1/6] OMAP: move voltage.h and vp.h under platform include directory

2011-07-19 Thread Tero Kristo
On Mon, 2011-07-18 at 20:16 +0200, Balbi, Felipe wrote: > Hi, > > On Mon, Jul 18, 2011 at 08:35:17PM +0300, Tero Kristo wrote: > > This is needed so that these include files can be accessed from drivers. > > > > Signed-off-by: Tero Kristo > > --- > > arch/arm/mach-omap2/voltage.h |

Re: [PATCHv3 1/6] OMAP: move voltage.h and vp.h under platform include directory

2011-07-18 Thread Kevin Hilman
Tero Kristo writes: > This is needed so that these include files can be accessed from drivers. I think you can get by with a with simply an opaque struct voltagedomain, and the definitions of the functions needed by the regulator driver (currently only voltdm_scale, omap_vp_get_curr_volt). Then

Re: [PATCHv3 1/6] OMAP: move voltage.h and vp.h under platform include directory

2011-07-18 Thread Felipe Balbi
Hi, On Mon, Jul 18, 2011 at 08:35:17PM +0300, Tero Kristo wrote: > This is needed so that these include files can be accessed from drivers. > > Signed-off-by: Tero Kristo > --- > arch/arm/mach-omap2/voltage.h | 180 > - > arch/arm/mach-omap2/vp.h

[PATCHv3 1/6] OMAP: move voltage.h and vp.h under platform include directory

2011-07-18 Thread Tero Kristo
This is needed so that these include files can be accessed from drivers. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/voltage.h | 180 - arch/arm/mach-omap2/vp.h | 128 arch/arm/plat-omap/include/plat/voltage.h