Commit 370a3abd authored by Anton Blanchard's avatar Anton Blanchard Committed by Michael Ellerman

powerpc: Move adb 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 831cf65b
...@@ -128,13 +128,6 @@ EXPORT_SYMBOL(smp_hw_index); ...@@ -128,13 +128,6 @@ EXPORT_SYMBOL(smp_hw_index);
#endif #endif
#endif #endif
#ifdef CONFIG_ADB
EXPORT_SYMBOL(adb_request);
EXPORT_SYMBOL(adb_register);
EXPORT_SYMBOL(adb_unregister);
EXPORT_SYMBOL(adb_poll);
EXPORT_SYMBOL(adb_try_handler_change);
#endif /* CONFIG_ADB */
#ifdef CONFIG_ADB_CUDA #ifdef CONFIG_ADB_CUDA
EXPORT_SYMBOL(cuda_request); EXPORT_SYMBOL(cuda_request);
EXPORT_SYMBOL(cuda_poll); EXPORT_SYMBOL(cuda_poll);
......
...@@ -411,6 +411,7 @@ adb_poll(void) ...@@ -411,6 +411,7 @@ adb_poll(void)
return; return;
adb_controller->poll(); adb_controller->poll();
} }
EXPORT_SYMBOL(adb_poll);
static void adb_sync_req_done(struct adb_request *req) static void adb_sync_req_done(struct adb_request *req)
{ {
...@@ -460,6 +461,7 @@ adb_request(struct adb_request *req, void (*done)(struct adb_request *), ...@@ -460,6 +461,7 @@ adb_request(struct adb_request *req, void (*done)(struct adb_request *),
return rc; return rc;
} }
EXPORT_SYMBOL(adb_request);
/* Ultimately this should return the number of devices with /* Ultimately this should return the number of devices with
the given default id. the given default id.
...@@ -495,6 +497,7 @@ adb_register(int default_id, int handler_id, struct adb_ids *ids, ...@@ -495,6 +497,7 @@ adb_register(int default_id, int handler_id, struct adb_ids *ids,
mutex_unlock(&adb_handler_mutex); mutex_unlock(&adb_handler_mutex);
return ids->nids; return ids->nids;
} }
EXPORT_SYMBOL(adb_register);
int int
adb_unregister(int index) adb_unregister(int index)
...@@ -516,6 +519,7 @@ adb_unregister(int index) ...@@ -516,6 +519,7 @@ adb_unregister(int index)
mutex_unlock(&adb_handler_mutex); mutex_unlock(&adb_handler_mutex);
return ret; return ret;
} }
EXPORT_SYMBOL(adb_unregister);
void void
adb_input(unsigned char *buf, int nb, int autopoll) adb_input(unsigned char *buf, int nb, int autopoll)
...@@ -582,6 +586,7 @@ adb_try_handler_change(int address, int new_id) ...@@ -582,6 +586,7 @@ adb_try_handler_change(int address, int new_id)
mutex_unlock(&adb_handler_mutex); mutex_unlock(&adb_handler_mutex);
return ret; return ret;
} }
EXPORT_SYMBOL(adb_try_handler_change);
int int
adb_get_infos(int address, int *original_address, int *handler_id) adb_get_infos(int address, int *original_address, int *handler_id)
......
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