Skip to content

Commit

Permalink
Partial revert of "module: export symbols for loadable modules"
Browse files Browse the repository at this point in the history
This commit reverts changes in:
    	src/module/audio/sink_api.c
    src/module/audio/source_api.c
made by commit 12d958a. These changes made
it impossible to build native loadable modules.

Signed-off-by: Adrian Warecki <[email protected]>
  • Loading branch information
softwarecki authored and pjdobrowolski committed Feb 2, 2024
1 parent f847ac5 commit 34442a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/module/audio/sink_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#include <module/audio/sink_api.h>
#include <module/audio/audio_stream.h>
#include <rtos/symbol.h>

/* This file contains public sink API functions that were too large to mark is as inline. */

Expand All @@ -24,7 +23,6 @@ int sink_get_buffer(struct sof_sink *sink, size_t req_size,
sink->requested_write_frag_size = req_size;
return ret;
}
EXPORT_SYMBOL(sink_get_buffer);

int sink_commit_buffer(struct sof_sink *sink, size_t commit_size)
{
Expand All @@ -46,7 +44,6 @@ int sink_commit_buffer(struct sof_sink *sink, size_t commit_size)
sink->num_of_bytes_processed += commit_size;
return ret;
}
EXPORT_SYMBOL(sink_commit_buffer);

int sink_set_frm_fmt(struct sof_sink *sink, enum sof_ipc_frame frame_fmt)
{
Expand Down
3 changes: 0 additions & 3 deletions src/module/audio/source_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

#include <module/audio/source_api.h>
#include <module/audio/audio_stream.h>
#include <rtos/symbol.h>

/* This file contains public source API functions that were too large to mark is as inline. */

Expand All @@ -24,7 +23,6 @@ int source_get_data(struct sof_source *source, size_t req_size,
source->requested_read_frag_size = req_size;
return ret;
}
EXPORT_SYMBOL(source_get_data);

int source_release_data(struct sof_source *source, size_t free_size)
{
Expand All @@ -46,7 +44,6 @@ int source_release_data(struct sof_source *source, size_t free_size)
source->num_of_bytes_processed += free_size;
return ret;
}
EXPORT_SYMBOL(source_release_data);

size_t source_get_frame_bytes(struct sof_source *source)
{
Expand Down

0 comments on commit 34442a5

Please sign in to comment.