commit | 4cbf9f4864bd4fb2e64d555aacb93c24478e4e8d | [log] [tgz] |
---|---|---|
author | Nicolas Ferre <nicolas.ferre@atmel.com> | Wed Oct 12 18:06:59 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Oct 18 16:42:07 2011 -0700 |
tree | 80d85d123ee482dfa2b3881f5a0f3cf755c29416 | |
parent | 588edbf3b8948d94a52da5d6b45c9bb7307d1f01 [diff] |
tty/serial: atmel_serial: auto-enumerate ports 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>