[PATCH 5/6] ARM: ux500: move PRCMU functions into the CPUidle driver
arnd at arndb.de
Mon Mar 25 10:11:43 EDT 2013
On Monday 25 March 2013, Linus Walleij wrote:
> On Mon, Mar 25, 2013 at 2:58 PM, Daniel Lezcano
> <daniel.lezcano at linaro.org> wrote:
> > On 03/25/2013 02:44 PM, Linus Walleij wrote:
> >> Shall I put it in <linux/platform_data/arm-ux500-pm.h> or so,
> >> with the implementation in arch/arm/mach-ux500/pm.c
> >> or so?
> > Wouldn't <asm/pm.h> be better ? So we can have the same header name for
> > all the drivers, no ?
> I don't think that works with multiplatform. When building multiple
> systems our approach is to not let any two header files have the same
> What we did for debug macro for example was to create the <debug/*>
> namespace, so the old <mach/debug-macro.S> is now <debug/imx.S>,
> <debug/vt8500.h>, <debug/ux500.h> ... etc.
> So what would be needed would then rather be <pm/*> in
> arch/arm/include/pm and under this we would create
> But that require Russell and Arnds/Olofs consent I think,
> what do you guys say? Other recommendations?
I would first like to understand what contents you actually need to
have in the header file.
More information about the linux-arm-kernel