PCI: altera: Reorder read/write functions
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 22 Jul 2016 20:54:41 +0000 (15:54 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2019 21:16:11 +0000 (22:16 +0100)
commit9efffbc8191dd989065d4cf12e50d2abc84bd1fb
tree37c8c553194debe2162d538200f0ce03feddb5b9
parentecd77ebfa6ddcf728c8eccb4cdfebc23ab7125b9
PCI: altera: Reorder read/write functions

commit f8be11ae3d2c9a1338da37ff91ff4c65922d21be upstream.

Move cra_writel(), cra_readl(), and altera_pcie_link_is_up() so a future
patch can use them in altera_pcie_retrain().  No functional change
intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Claudius Heine <claudius.heine.ext@siemens.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/host/pcie-altera.c