diff options
author | Andy Green <andy.green@linaro.org> | 2011-04-07 08:39:51 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-04-07 08:39:51 +0100 |
commit | fee75adfd07e082d9912230302aaa5dfd0164d9e (patch) | |
tree | a7458a28ae143c2a8248264abe1e6b892ca684ea /sound/soc | |
parent | 74e73b7aa2155a392f803a542ed523c3f6e7ac35 (diff) |
alsa soc add exports from hwmod and others
This patch allows building of the SoC SDP4430 stuff as modules
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/omap/abe/abe_dat.c | 3 | ||||
-rw-r--r-- | sound/soc/omap/abe/abe_seq.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/omap/abe/abe_dat.c b/sound/soc/omap/abe/abe_dat.c index 584d9a18ba4..82129921fcd 100644 --- a/sound/soc/omap/abe/abe_dat.c +++ b/sound/soc/omap/abe/abe_dat.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA */ +#include <linux/module.h> #include "abe_main.h" #ifndef abe_dat_c #define abe_dat_c @@ -582,6 +583,8 @@ u32 abe_global_sequence_mask; abe_seq_t abe_active_sequence[MAXACTIVESEQUENCE][MAXSEQUENCESTEPS]; /* index of the plugged subroutine doing ping-pong cache-flush DMEM accesses */ u32 abe_irq_pingpong_player_id; +EXPORT_SYMBOL_GPL(abe_irq_pingpong_player_id); + /* index of the plugged subroutine doing acoustics protection adaptation */ u32 abe_irq_aps_adaptation_id; /* base addresses of the ping pong buffers in bytes addresses */ diff --git a/sound/soc/omap/abe/abe_seq.c b/sound/soc/omap/abe/abe_seq.c index 8dba8426484..797fef3bd78 100644 --- a/sound/soc/omap/abe/abe_seq.c +++ b/sound/soc/omap/abe/abe_seq.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA */ +#include <linux/module.h> #include "abe_main.h" /** * abe_null_subroutine @@ -98,6 +99,9 @@ void abe_add_subroutine(u32 *id, abe_subroutine2 f, u32 nparam, u32 *params) } } } + +EXPORT_SYMBOL_GPL(abe_add_subroutine); + /** * abe_add_sequence * @id: returned sequence index after pluging a new sequence (index in the tables) |