[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211114115616.493815-1-wangborong@cdjrlc.com>
Date: Sun, 14 Nov 2021 19:56:16 +0800
From: Jason Wang <wangborong@...rlc.com>
To: mpe@...erman.id.au
Cc: benh@...nel.crashing.org, paulus@...ba.org, andrew@...n.ch,
michael@...le.cc, wangborong@...rlc.com, davem@...emloft.net,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH] powerpc: tsi108: make EXPORT_SYMBOL follow its function immediately
EXPORT_SYMBOL(foo); should immediately follow its function/variable.
Signed-off-by: Jason Wang <wangborong@...rlc.com>
---
arch/powerpc/sysdev/tsi108_dev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/powerpc/sysdev/tsi108_dev.c b/arch/powerpc/sysdev/tsi108_dev.c
index 4c4a6efd5e5f..9e13fb35ed5c 100644
--- a/arch/powerpc/sysdev/tsi108_dev.c
+++ b/arch/powerpc/sysdev/tsi108_dev.c
@@ -51,13 +51,12 @@ phys_addr_t get_csrbase(void)
}
return tsi108_csr_base;
}
+EXPORT_SYMBOL(get_csrbase);
u32 get_vir_csrbase(void)
{
return (u32) (ioremap(get_csrbase(), 0x10000));
}
-
-EXPORT_SYMBOL(get_csrbase);
EXPORT_SYMBOL(get_vir_csrbase);
static int __init tsi108_eth_of_init(void)
--
2.33.0
Powered by blists - more mailing lists