Skip to content

Commit

Permalink
powerpc: Move via-cuda symbol exports next to function definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Anton Blanchard authored and Michael Ellerman committed Sep 25, 2014
1 parent 370a3ab commit 4a1b08e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/powerpc/kernel/ppc_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions drivers/macintosh/via-cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 4a1b08e

Please sign in to comment.