diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2014-01-20 14:32:35 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 10:33:00 -0800 |
commit | ef2889f7ffee67f0aed49e854c72be63f1466759 (patch) | |
tree | c419d73c36d0bd5372a9d906ddc01ac028662b90 /drivers/tty/serial/sirfsoc_uart.c | |
parent | 6f134c3c770355b7e930d3ffc558864668f13055 (diff) | |
download | op-kernel-dev-ef2889f7ffee67f0aed49e854c72be63f1466759.zip op-kernel-dev-ef2889f7ffee67f0aed49e854c72be63f1466759.tar.gz |
serial: pl011: Move uart_register_driver call to device probe
uart_register_driver call binds the driver to a specific device
node through tty_register_driver call. This should typically happen
during device probe call.
In a multiplatform scenario, it is possible that multiple serial
drivers are part of the kernel. Currently the driver registration fails
if multiple serial drivers with same default major/minor numbers are
included in the kernel.
A typical case is observed with amba-pl011 and samsung-uart drivers.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sirfsoc_uart.c')
0 files changed, 0 insertions, 0 deletions