powerpc: Move via-cuda symbol exports next to function definitions
authorAnton Blanchard <anton@samba.org>
Tue, 19 Aug 2014 22:00:01 +0000 (08:00 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Sep 2014 13:14:37 +0000 (23:14 +1000)
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/ppc_ksyms.c
drivers/macintosh/via-cuda.c

index 351f447654cc6ea4c68a910dad3a4900829df0c1..521291db59f8d5e7614792e96fabcbe2b602ff21 100644 (file)
@@ -128,10 +128,6 @@ EXPORT_SYMBOL(smp_hw_index);
 #endif
 #endif
 
-#ifdef CONFIG_ADB_CUDA
-EXPORT_SYMBOL(cuda_request);
-EXPORT_SYMBOL(cuda_poll);
-#endif /* CONFIG_ADB_CUDA */
 EXPORT_SYMBOL(to_tm);
 
 #ifdef CONFIG_PPC32
index d61f271d22078ac13166e49a79d9c03c94d5f71c..bad18130f125f94fc23281e3edbcade0b39871d1 100644 (file)
@@ -379,6 +379,7 @@ cuda_request(struct adb_request *req, void (*done)(struct adb_request *),
     req->reply_expected = 1;
     return cuda_write(req);
 }
+EXPORT_SYMBOL(cuda_request);
 
 static int
 cuda_write(struct adb_request *req)
@@ -441,6 +442,7 @@ cuda_poll(void)
     if (cuda_irq)
        enable_irq(cuda_irq);
 }
+EXPORT_SYMBOL(cuda_poll);
 
 static irqreturn_t
 cuda_interrupt(int irq, void *arg)