DaVinci: move IDE platform device to its proper place
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 21 Apr 2010 14:11:33 +0000 (18:11 +0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 6 May 2010 22:02:07 +0000 (15:02 -0700)
commit7a9978a1e2225507025a8b90b4289d506a416bd9
tree163a66035df8ed7a510ad692eaf7259c885a932e
parent280faffb4e059b3f453e297af7060d9c277c0ca9
DaVinci: move IDE platform device to its proper place

The IDE platform device is registered in three different places (2 board files
for DM644x and in dm646x.c for DM646x) while both the IDE base address and the
IDE IRQ are the same for both SoCs -- therefore,  the proper place for the IDE
platform seems to be in devices.c. Merge the IDE platform data and registration
code and create davinci_init_ide() in place of dm646x_init_ide()...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/board-dm644x-evm.c
arch/arm/mach-davinci/board-dm646x-evm.c
arch/arm/mach-davinci/board-neuros-osd2.c
arch/arm/mach-davinci/devices.c
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/include/mach/common.h
arch/arm/mach-davinci/include/mach/dm646x.h