Thread (7 messages) 7 messages, 3 authors, 2011-08-24

Re: [PATCH] tty: 8250_dw: fix build error for CONFIG_SERIAL_8250=m

From: Arnd Bergmann <arnd@arndb.de>
Date: 2011-08-24 16:14:08

On Wednesday 24 August 2011, Jamie Iles wrote:
On Wed, Aug 24, 2011 at 04:45:16PM +0200, Arnd Bergmann wrote:
quoted
When go go to such length, I think the approach I initially advocated
(making 8250_dw a standalone platform_driver like of_serial) will be
nicer.
For a separate driver, is it okay to make it depend on CONFIG_OF, and 
only have device tree bindings, or should this still support being 
registered as a static platform device with platform data?  I'm not sure 
what the consensus is on creating device tree only platform drivers.
Do only what is necessary. If the devices are all probed using device
tree, then support only that. If someone else really needs static
platform_data instead, they can add support for that later.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help