aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-08-19 18:00:00 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-25 09:14:37 -0400
commit370a3abdbba85f5d7b8571850fa666e240893c79 (patch)
tree7241826ce0c18a4b9c310b77134fbc8cd233e01e /drivers/macintosh
parent831cf65b0295de75f40f8cf52ce62e5d261dab4f (diff)
powerpc: Move adb symbol exports next to function definitions
Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/adb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c
index 9e9c56758a08..226179b975a0 100644
--- a/drivers/macintosh/adb.c
+++ b/drivers/macintosh/adb.c
@@ -411,6 +411,7 @@ adb_poll(void)
411 return; 411 return;
412 adb_controller->poll(); 412 adb_controller->poll();
413} 413}
414EXPORT_SYMBOL(adb_poll);
414 415
415static void adb_sync_req_done(struct adb_request *req) 416static void adb_sync_req_done(struct adb_request *req)
416{ 417{
@@ -460,6 +461,7 @@ adb_request(struct adb_request *req, void (*done)(struct adb_request *),
460 461
461 return rc; 462 return rc;
462} 463}
464EXPORT_SYMBOL(adb_request);
463 465
464 /* Ultimately this should return the number of devices with 466 /* Ultimately this should return the number of devices with
465 the given default id. 467 the given default id.
@@ -495,6 +497,7 @@ adb_register(int default_id, int handler_id, struct adb_ids *ids,
495 mutex_unlock(&adb_handler_mutex); 497 mutex_unlock(&adb_handler_mutex);
496 return ids->nids; 498 return ids->nids;
497} 499}
500EXPORT_SYMBOL(adb_register);
498 501
499int 502int
500adb_unregister(int index) 503adb_unregister(int index)
@@ -516,6 +519,7 @@ adb_unregister(int index)
516 mutex_unlock(&adb_handler_mutex); 519 mutex_unlock(&adb_handler_mutex);
517 return ret; 520 return ret;
518} 521}
522EXPORT_SYMBOL(adb_unregister);
519 523
520void 524void
521adb_input(unsigned char *buf, int nb, int autopoll) 525adb_input(unsigned char *buf, int nb, int autopoll)
@@ -582,6 +586,7 @@ adb_try_handler_change(int address, int new_id)
582 mutex_unlock(&adb_handler_mutex); 586 mutex_unlock(&adb_handler_mutex);
583 return ret; 587 return ret;
584} 588}
589EXPORT_SYMBOL(adb_try_handler_change);
585 590
586int 591int
587adb_get_infos(int address, int *original_address, int *handler_id) 592adb_get_infos(int address, int *original_address, int *handler_id)