From: Valentina Manea Date: Sun, 10 Mar 2013 03:22:39 +0000 (+0000) Subject: powerpc: place EXPORT_SYMBOL macro right after declaration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8040bda31ab229e931d872a51c89ddeae4012b00;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git powerpc: place EXPORT_SYMBOL macro right after declaration This fixes the following checkpatch.pl warnings: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable +EXPORT_SYMBOL(kmap_prot); WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable +EXPORT_SYMBOL(kmap_pte); Signed-off-by: Valentina Manea Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index f1f7409a418..056732e8ca3 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c @@ -66,10 +66,9 @@ unsigned long long memory_limit; #ifdef CONFIG_HIGHMEM pte_t *kmap_pte; +EXPORT_SYMBOL(kmap_pte); pgprot_t kmap_prot; - EXPORT_SYMBOL(kmap_prot); -EXPORT_SYMBOL(kmap_pte); static inline pte_t *virt_to_kpte(unsigned long vaddr) {