summaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2015-05-21 17:26:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 13:08:51 -0700
commit3873e2d7f63a9da3098b28c405d13f15667a01b0 (patch)
tree0f052abe653726b0124a3799a794676140b8f788 /arch/openrisc
parentef5a9358844a2e6f466facaca3247b64c72ef417 (diff)
downloadtalos-op-linux-3873e2d7f63a9da3098b28c405d13f15667a01b0.tar.gz
talos-op-linux-3873e2d7f63a9da3098b28c405d13f15667a01b0.zip
drivers: PL011: refactor pl011_probe()
Currently the pl011_probe() function is relying on some AMBA IDs and a device tree node to initialize the driver and a port. Both features are not necessarily required for the driver: - we lack AMBA IDs in the ARM SBSA generic UART and - we lack a DT node in ACPI systems. So lets refactor the function to ease later reuse. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Tested-by: Mark Langsdorf <mlangsdo@redhat.com> Tested-by: Naresh Bhat <nbhat@cavium.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud