Re: What is the correct approach for common board devices...?

Tony Lindgren
2007-06-13T06:02:57Z

* Syed Mohammed, Khasim <x0khasim@ti.com> [070612 21:01]:
> Hi Tony,
>
> There are some devices like TS, Keypad, I2C, Flash, etc that are almost common between 2430 and 3430 SDPs.
>
> Today in tree we have files like board-2430sdp-flash.c which can be reused for 3430 too.
>
> The board-2430sdp.c has Keymap that holds good for 3430 too.
>
> Can you please suggest the correct way to organize these kind of devices in mach-omap2 directory?

How about creating something like arch/arm/mach-omap2/sdp-common.c
for them?

Tony