Commit 4a1b08e8 authored by Anton Blanchard's avatar Anton Blanchard Committed by Michael Ellerman

powerpc: Move via-cuda symbol exports next to function definitions

Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 370a3abd
...@@ -128,10 +128,6 @@ EXPORT_SYMBOL(smp_hw_index); ...@@ -128,10 +128,6 @@ EXPORT_SYMBOL(smp_hw_index);
#endif #endif
#endif #endif
#ifdef CONFIG_ADB_CUDA
EXPORT_SYMBOL(cuda_request);
EXPORT_SYMBOL(cuda_poll);
#endif /* CONFIG_ADB_CUDA */
EXPORT_SYMBOL(to_tm); EXPORT_SYMBOL(to_tm);
#ifdef CONFIG_PPC32 #ifdef CONFIG_PPC32
......
...@@ -379,6 +379,7 @@ cuda_request(struct adb_request *req, void (*done)(struct adb_request *), ...@@ -379,6 +379,7 @@ cuda_request(struct adb_request *req, void (*done)(struct adb_request *),
req->reply_expected = 1; req->reply_expected = 1;
return cuda_write(req); return cuda_write(req);
} }
EXPORT_SYMBOL(cuda_request);
static int static int
cuda_write(struct adb_request *req) cuda_write(struct adb_request *req)
...@@ -441,6 +442,7 @@ cuda_poll(void) ...@@ -441,6 +442,7 @@ cuda_poll(void)
if (cuda_irq) if (cuda_irq)
enable_irq(cuda_irq); enable_irq(cuda_irq);
} }
EXPORT_SYMBOL(cuda_poll);
static irqreturn_t static irqreturn_t
cuda_interrupt(int irq, void *arg) cuda_interrupt(int irq, void *arg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment