tty/serial: atmel_serial: auto-enumerate ports
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 12 Oct 2011 16:06:59 +0000 (18:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 18 Oct 2011 23:42:07 +0000 (16:42 -0700)
If no platform data provided to enumerate ports, use a bit field
to choose port number and check if port is already initialized.
Use this mechanism for both console and plain serial ports.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found