Re: [PATCH 08/15] SPEAr1310: Add PCIe auxdata for miphy clock initialization
From: Arnd Bergmann <arnd@arndb.de>
Date: 2012-10-30 21:57:35
Also in:
linux-pci
From: Arnd Bergmann <arnd@arndb.de>
Date: 2012-10-30 21:57:35
Also in:
linux-pci
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 <redacted> --- 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