PCI: altera: Reorder read/write functions
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 22 Jul 2016 20:54:41 +0000 (15:54 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 22 Jul 2016 20:54:41 +0000 (15:54 -0500)
commitf8be11ae3d2c9a1338da37ff91ff4c65922d21be
treef955237ae3bdaed41dda20c471962001d9b7f23e
parentaf8c34ce6ae32addda3788d54a7e340cad22516b
PCI: altera: Reorder read/write functions

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>
drivers/pci/host/pcie-altera.c