diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2014-11-09 05:32:03 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2014-11-11 15:41:45 -0500 |
commit | ebd25caf7d511312d1a9724ab5752e9e661dfe60 (patch) | |
tree | 9d93dcf9e7acffa01be557c26449a7438e9eb9c2 /arch/tile | |
parent | 01f7ae056916b4e75ccaa48b9daacb9806caf4aa (diff) |
arch: tile: gxio: Export symbols for module using in 'mpipe.c'
'gxio_mpipe_adjust_timestamp', 'gxio_mpipe_link_instance',
'gxio_mpipe_get_timestamp', and 'gxio_mpipe_set_timestamp' may be use by
other tile modules, so export them.
The related error (with allmodconfig under tile):
MODPOST 4002 modules
ERROR: "gxio_mpipe_link_instance" [drivers/net/ethernet/tile/tile_net.ko] undefined!
ERROR: "gxio_mpipe_get_timestamp" [drivers/net/ethernet/tile/tile_net.ko] undefined!
ERROR: "gxio_mpipe_set_timestamp" [drivers/net/ethernet/tile/tile_net.ko] undefined!
ERROR: "gxio_mpipe_adjust_timestamp" [drivers/net/ethernet/tile/tile_net.ko] undefined!
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/gxio/mpipe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/tile/gxio/mpipe.c b/arch/tile/gxio/mpipe.c index 320ff5e6e61e..6f00e9850636 100644 --- a/arch/tile/gxio/mpipe.c +++ b/arch/tile/gxio/mpipe.c | |||
@@ -463,6 +463,7 @@ int gxio_mpipe_set_timestamp(gxio_mpipe_context_t *context, | |||
463 | (uint64_t)ts->tv_nsec, | 463 | (uint64_t)ts->tv_nsec, |
464 | (uint64_t)cycles); | 464 | (uint64_t)cycles); |
465 | } | 465 | } |
466 | EXPORT_SYMBOL_GPL(gxio_mpipe_set_timestamp); | ||
466 | 467 | ||
467 | int gxio_mpipe_get_timestamp(gxio_mpipe_context_t *context, | 468 | int gxio_mpipe_get_timestamp(gxio_mpipe_context_t *context, |
468 | struct timespec *ts) | 469 | struct timespec *ts) |
@@ -485,11 +486,13 @@ int gxio_mpipe_get_timestamp(gxio_mpipe_context_t *context, | |||
485 | } | 486 | } |
486 | return ret; | 487 | return ret; |
487 | } | 488 | } |
489 | EXPORT_SYMBOL_GPL(gxio_mpipe_get_timestamp); | ||
488 | 490 | ||
489 | int gxio_mpipe_adjust_timestamp(gxio_mpipe_context_t *context, int64_t delta) | 491 | int gxio_mpipe_adjust_timestamp(gxio_mpipe_context_t *context, int64_t delta) |
490 | { | 492 | { |
491 | return gxio_mpipe_adjust_timestamp_aux(context, delta); | 493 | return gxio_mpipe_adjust_timestamp_aux(context, delta); |
492 | } | 494 | } |
495 | EXPORT_SYMBOL_GPL(gxio_mpipe_adjust_timestamp); | ||
493 | 496 | ||
494 | /* Get our internal context used for link name access. This context is | 497 | /* Get our internal context used for link name access. This context is |
495 | * special in that it is not associated with an mPIPE service domain. | 498 | * special in that it is not associated with an mPIPE service domain. |
@@ -542,6 +545,7 @@ int gxio_mpipe_link_instance(const char *link_name) | |||
542 | 545 | ||
543 | return gxio_mpipe_info_instance_aux(context, name); | 546 | return gxio_mpipe_info_instance_aux(context, name); |
544 | } | 547 | } |
548 | EXPORT_SYMBOL_GPL(gxio_mpipe_link_instance); | ||
545 | 549 | ||
546 | int gxio_mpipe_link_enumerate_mac(int idx, char *link_name, uint8_t *link_mac) | 550 | int gxio_mpipe_link_enumerate_mac(int idx, char *link_name, uint8_t *link_mac) |
547 | { | 551 | { |