|To:||Manuel Lauss <firstname.lastname@example.org>|
|Subject:||Re: [PATCH 1/3] Alchemy: get rid of common/platform.c|
|From:||Sergei Shtylyov <email@example.com>|
|Date:||Sun, 29 Mar 2009 15:36:56 +0400|
|User-agent:||Thunderbird 184.108.40.206 (Windows/20090302)|
Hello. Manuel Lauss wrote:
Move device registration out of common/platform.c into the individual boards' platform.c files. Every board should register the devices it wants to use (i.e. on one of my Au1200 systems UART1 is unused [pinmux problems] and its functionality is provided by an external device. This also results in a completely useless ttyS1 entry; I want this entry gone without having to add a lot more #ifdef <platform> lines to common/platform.c).
No #ifdef's would be needed at all if you check what devices are enabled before registering.
Signed-off-by: Manuel Lauss <firstname.lastname@example.org>
NAK. WBR. Sergei
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: [PATCH 0/3] Alchemy: platform updates, Sergei Shtylyov|
|Next by Date:||Re: [PATCH 1/3] Alchemy: get rid of common/platform.c, Sergei Shtylyov|
|Previous by Thread:||[PATCH 3/3] Alchemy: convert to physmap flash, Manuel Lauss|
|Next by Thread:||Re: [PATCH 1/3] Alchemy: get rid of common/platform.c, Sergei Shtylyov|
|Indexes:||[Date] [Thread] [Top] [All Lists]|