On Monday 29 October 2012, Pratyush Anand wrote:
> Miphy Clock initialization is very specific to controller and its
> instances. Pass this custom function using auxdata.
>
> Signed-off-by: Pratyush Anand <[email protected]>
> ---
> arch/arm/mach-spear13xx/spear1310.c | 148
> +++++++++++++++++++++++++++++++++++
> 1 files changed, 148 insertions(+), 0 deletions(-)
I think you shouldn't have this in platform code. I don't have the full picture
here
but it looks like it could be a separate clock driver so you can use the
regular clock
functions. Platform data with callbacks is not acceptable here.
Arnd
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss