This looks like the wrong approach.
On Thursday 28 May 2009, Chaithrika U S wrote:
--- a/arch/arm/mach-davinci/dm355.c
+++ b/arch/arm/mach-davinci/dm355.c
@@ -278,6 +282,7 @@ static __init void dm355_evm_init(void)
dm355_init_spi0(BIT(0), dm355_evm_spi_info,
1) Registers the platform devices for ASP on dm355, dm644x and dm646x so that
the machine driver can probe to get ASP related platform data.
2) Move towards definition of the asp clocks using phyisical name(for dm355 and
dm644x)
3) Add platform data to board specific files.
Signed-off-by: Naresh