From: Tushar Behera Date: Mon, 20 Jan 2014 09:02:35 +0000 (+0530) Subject: serial: pl011: Move uart_register_driver call to device probe X-Git-Tag: v3.15-rc1~138^2~46 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef2889f7ffee67f0aed49e854c72be63f1466759;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed