Reorder the accessors so the reader is first, as most other drivers do. Uninline them. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> --- drivers/pci/host/pci-aardvark.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/host/pci-aardvark.c b/drivers/pci/host/pci-aardvark.c index fd0e6af..3d629d4 100644 --- a/drivers/pci/host/pci-aardvark.c +++ b/drivers/pci/host/pci-aardvark.c @@ -209,14 +209,14 @@ struct advk_pcie { int root_bus_nr; }; -static inline void advk_writel(struct advk_pcie *advk, u32 val, u64 reg) +static u32 advk_readl(struct advk_pcie *advk, u64 reg) { - writel(val, advk->base + reg); + return readl(advk->base + reg); } -static inline u32 advk_readl(struct advk_pcie *advk, u64 reg) +static void advk_writel(struct advk_pcie *advk, u32 val, u64 reg) { - return readl(advk->base + reg); + writel(val, advk->base + reg); } static int advk_pcie_link_up(struct advk_pcie *advk) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html