All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org,
	Mark Brown <broonie@opensource.wolfsonmicro.com>
Subject: [PATCH 02/14] ASoC: Export dapm_reg_event() fully
Date: Tue, 29 Jul 2008 11:42:23 +0100	[thread overview]
Message-ID: <1217328155-30158-2-git-send-email-broonie@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1217328155-30158-1-git-send-email-broonie@opensource.wolfsonmicro.com>

dapm_reg_event() is used by devices using SND_SOC_DAPM_REG() so needs to
be exported to support building them as modules and prototyped to avoid
sparse warnings and potential build issues.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 include/sound/soc-dapm.h |    3 +++
 sound/soc/soc-dapm.c     |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 3030fdc..c1b26fc 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -202,6 +202,9 @@ struct snd_soc_dapm_path;
 struct snd_soc_dapm_pin;
 struct snd_soc_dapm_route;
 
+int dapm_reg_event(struct snd_soc_dapm_widget *w,
+		   struct snd_kcontrol *kcontrol, int event);
+
 /* dapm controls */
 int snd_soc_dapm_put_volsw(struct snd_kcontrol *kcontrol,
 	struct snd_ctl_elem_value *ucontrol);
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 820347c..f9d100b 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -470,6 +470,7 @@ int dapm_reg_event(struct snd_soc_dapm_widget *w,
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(dapm_reg_event);
 
 /*
  * Scan each dapm widget for complete audio path.
-- 
1.5.6.3

  reply	other threads:[~2008-07-29 10:42 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-29 10:42 [PATCH 01/14] ASoC: Update Poodle to current ASoC API Mark Brown
2008-07-29 10:42 ` Mark Brown [this message]
2008-07-29 10:42   ` [PATCH 03/14] ASoC: Permit simultaneous compilation of both PXA AC97 drivers Mark Brown
2008-07-29 10:42     ` [PATCH 04/14] ASoC: Allow codecs to override register display Mark Brown
2008-07-29 10:42       ` [PATCH 05/14] ASoC: Convert bitfields in ASoC into full int width Mark Brown
2008-07-29 10:42         ` [PATCH 06/14] ASoC: Rename mask to max to reflect usage Mark Brown
2008-07-29 10:42           ` [PATCH 07/14] ASoC: Add OpenFirmware helper for matching bus and codec drivers Mark Brown
2008-07-29 10:42             ` [PATCH 08/14] ASoC: Make OpenFirmware helper include file conditional Mark Brown
2008-07-29 10:42               ` [PATCH 09/14] ASoC: Add mpc5200-psc I2S driver Mark Brown
2008-07-29 10:42                 ` [PATCH 10/14] ASoC: Add Texas Instruments TLV320AIC26 codec driver Mark Brown
2008-07-29 10:42                   ` [PATCH 11/14] ASoC: Export DAI and codec for TLV320AIC26 Mark Brown
2008-07-29 10:42                     ` [PATCH 12/14] ASoC: Staticise keyclick dev_attr in tlv320aic26 Mark Brown
2008-07-29 10:42                       ` [PATCH 13/14] ASoC: AD1980 audio codec driver Mark Brown
2008-07-29 10:42                         ` [PATCH 14/14] ASoC: Add all CODECs Kconfig option Mark Brown
2008-07-29 13:49         ` [PATCH 05/14] ASoC: Convert bitfields in ASoC into full int width Jon Smirl
2008-07-29 13:56           ` Mark Brown
2008-07-29 14:06             ` Jon Smirl
2008-07-29 14:11               ` Takashi Iwai
2008-07-29 13:59           ` Takashi Iwai
2008-08-01  1:41       ` [PATCH 04/14] ASoC: Allow codecs to override register display Jon Smirl
2008-08-01  9:42         ` Takashi Iwai
2008-08-01 10:00           ` Mark Brown
2008-08-01 14:50             ` Jon Smirl
2008-08-01 15:23               ` Takashi Iwai
2008-08-01 15:35                 ` Mark Brown
2008-08-01 15:49                   ` Takashi Iwai
2008-08-01 16:13                     ` Jon Smirl
2008-08-01 16:16                       ` Mark Brown
2008-08-01 16:27                         ` Jon Smirl
2008-08-01 16:40                           ` Mark Brown
2008-08-01 16:35                         ` Takashi Iwai
2008-08-01 17:18                           ` Mark Brown
2008-08-01 17:37                             ` Jon Smirl
2008-08-01 18:10                               ` Mark Brown
2008-07-29 13:36 ` [PATCH 01/14] ASoC: Update Poodle to current ASoC API Takashi Iwai
2008-07-29 13:47   ` Mark Brown
2008-07-29 14:01     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1217328155-30158-2-git-send-email-broonie@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.