* [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct
@ 2013-05-14 20:19 Lars-Peter Clausen
2013-05-14 20:19 ` [PATCH 02/11] ASoC: kirkwood-dma: " Lars-Peter Clausen
` (10 more replies)
0 siblings, 11 replies; 22+ messages in thread
From: Lars-Peter Clausen @ 2013-05-14 20:19 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen, Ryan Mallon
The ep93xx_i2s_dma_data struct is not used outside of ep93xx-i2s.c, so make it
static.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: Ryan Mallon <ryan@bluewatersys.com>
---
sound/soc/cirrus/ep93xx-i2s.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/cirrus/ep93xx-i2s.c b/sound/soc/cirrus/ep93xx-i2s.c
index ef731e6..17ad70b 100644
--- a/sound/soc/cirrus/ep93xx-i2s.c
+++ b/sound/soc/cirrus/ep93xx-i2s.c
@@ -63,7 +63,7 @@ struct ep93xx_i2s_info {
void __iomem *regs;
};
-struct ep93xx_dma_data ep93xx_i2s_dma_data[] = {
+static struct ep93xx_dma_data ep93xx_i2s_dma_data[] = {
[SNDRV_PCM_STREAM_PLAYBACK] = {
.name = "i2s-pcm-out",
.port = EP93XX_DMA_I2S1,
--
1.8.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 02/11] ASoC: kirkwood-dma: Staticize non exported struct
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
@ 2013-05-14 20:19 ` Lars-Peter Clausen
2013-05-15 4:47 ` Mark Brown
2013-05-14 20:19 ` [PATCH 03/11] ASoC: spear: spdif_in: " Lars-Peter Clausen
` (9 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Lars-Peter Clausen @ 2013-05-14 20:19 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen, Arnaud Patard
The kirkwood_dma_ops struct is not used outside of kirkwood-dma.c, so make it
static.
Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
sound/soc/kirkwood/kirkwood-dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/kirkwood/kirkwood-dma.c b/sound/soc/kirkwood/kirkwood-dma.c
index d3d4bdc..a9f1453 100644
--- a/sound/soc/kirkwood/kirkwood-dma.c
+++ b/sound/soc/kirkwood/kirkwood-dma.c
@@ -289,7 +289,7 @@ static snd_pcm_uframes_t kirkwood_dma_pointer(struct snd_pcm_substream
return count;
}
-struct snd_pcm_ops kirkwood_dma_ops = {
+static struct snd_pcm_ops kirkwood_dma_ops = {
.open = kirkwood_dma_open,
.close = kirkwood_dma_close,
.ioctl = snd_pcm_lib_ioctl,
--
1.8.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 03/11] ASoC: spear: spdif_in: Staticize non exported struct
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
2013-05-14 20:19 ` [PATCH 02/11] ASoC: kirkwood-dma: " Lars-Peter Clausen
@ 2013-05-14 20:19 ` Lars-Peter Clausen
2013-05-15 3:48 ` Rajeev kumar
2013-05-15 4:48 ` Mark Brown
2013-05-14 20:19 ` [PATCH 04/11] ASoC: spear: spdif_out: Staticize unexported function Lars-Peter Clausen
` (8 subsequent siblings)
10 siblings, 2 replies; 22+ messages in thread
From: Lars-Peter Clausen @ 2013-05-14 20:19 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen, Rajeev Kumar
The spdif_in_dai struct is not used outside of spdif_in.c, so make it static.
Cc: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
sound/soc/spear/spdif_in.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c
index 643ada6..f0071dd 100644
--- a/sound/soc/spear/spdif_in.c
+++ b/sound/soc/spear/spdif_in.c
@@ -152,7 +152,7 @@ static struct snd_soc_dai_ops spdif_in_dai_ops = {
.hw_params = spdif_in_hw_params,
};
-struct snd_soc_dai_driver spdif_in_dai = {
+static struct snd_soc_dai_driver spdif_in_dai = {
.probe = spdif_in_dai_probe,
.capture = {
.channels_min = 2,
--
1.8.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 04/11] ASoC: spear: spdif_out: Staticize unexported function
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
2013-05-14 20:19 ` [PATCH 02/11] ASoC: kirkwood-dma: " Lars-Peter Clausen
2013-05-14 20:19 ` [PATCH 03/11] ASoC: spear: spdif_in: " Lars-Peter Clausen
@ 2013-05-14 20:19 ` Lars-Peter Clausen
2013-05-15 3:47 ` Rajeev kumar
2013-05-15 4:49 ` Mark Brown
2013-05-14 20:19 ` [PATCH 05/11] ASoC: mmp-pcm: Staticize non exported structs and functions Lars-Peter Clausen
` (7 subsequent siblings)
10 siblings, 2 replies; 22+ messages in thread
From: Lars-Peter Clausen @ 2013-05-14 20:19 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen, Rajeev Kumar
The spdif_soc_dai_probe function is only used in spdif_out.c, so make it static.
Cc: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
sound/soc/spear/spdif_out.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/spear/spdif_out.c b/sound/soc/spear/spdif_out.c
index fd25cc5..4bde512 100644
--- a/sound/soc/spear/spdif_out.c
+++ b/sound/soc/spear/spdif_out.c
@@ -240,7 +240,7 @@ static const struct snd_kcontrol_new spdif_out_controls[] = {
spdif_mute_get, spdif_mute_put),
};
-int spdif_soc_dai_probe(struct snd_soc_dai *dai)
+static int spdif_soc_dai_probe(struct snd_soc_dai *dai)
{
struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai);
--
1.8.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 05/11] ASoC: mmp-pcm: Staticize non exported structs and functions
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
` (2 preceding siblings ...)
2013-05-14 20:19 ` [PATCH 04/11] ASoC: spear: spdif_out: Staticize unexported function Lars-Peter Clausen
@ 2013-05-14 20:19 ` Lars-Peter Clausen
2013-05-14 20:19 ` [PATCH 06/11] ASoC: mmp-sspa: Staticize non exported struct Lars-Peter Clausen
` (6 subsequent siblings)
10 siblings, 0 replies; 22+ messages in thread
From: Lars-Peter Clausen @ 2013-05-14 20:19 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen, Zhangfei Gao
The mmp_pcm_ops and mmp_soc_platform struct as well as the mmp_pcm_new()
function are only used in mmp-pcm.c, so make them static.
Cc: Zhangfei Gao <zhangfei.gao@marvell.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
sound/soc/pxa/mmp-pcm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c
index 3499300..5d57e07 100644
--- a/sound/soc/pxa/mmp-pcm.c
+++ b/sound/soc/pxa/mmp-pcm.c
@@ -147,7 +147,7 @@ static int mmp_pcm_mmap(struct snd_pcm_substream *substream,
vma->vm_end - vma->vm_start, vma->vm_page_prot);
}
-struct snd_pcm_ops mmp_pcm_ops = {
+static struct snd_pcm_ops mmp_pcm_ops = {
.open = mmp_pcm_open,
.close = snd_dmaengine_pcm_close_release_chan,
.ioctl = snd_pcm_lib_ioctl,
@@ -208,7 +208,7 @@ static int mmp_pcm_preallocate_dma_buffer(struct snd_pcm_substream *substream,
return 0;
}
-int mmp_pcm_new(struct snd_soc_pcm_runtime *rtd)
+static int mmp_pcm_new(struct snd_soc_pcm_runtime *rtd)
{
struct snd_pcm_substream *substream;
struct snd_pcm *pcm = rtd->pcm;
@@ -229,7 +229,7 @@ err:
return ret;
}
-struct snd_soc_platform_driver mmp_soc_platform = {
+static struct snd_soc_platform_driver mmp_soc_platform = {
.ops = &mmp_pcm_ops,
.pcm_new = mmp_pcm_new,
.pcm_free = mmp_pcm_free_dma_buffers,
--
1.8.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 06/11] ASoC: mmp-sspa: Staticize non exported struct
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
` (3 preceding siblings ...)
2013-05-14 20:19 ` [PATCH 05/11] ASoC: mmp-pcm: Staticize non exported structs and functions Lars-Peter Clausen
@ 2013-05-14 20:19 ` Lars-Peter Clausen
2013-05-14 20:19 ` [PATCH 07/11] ASoC: bf5xx-tdm-pcm: " Lars-Peter Clausen
` (5 subsequent siblings)
10 siblings, 0 replies; 22+ messages in thread
From: Lars-Peter Clausen @ 2013-05-14 20:19 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen, Zhangfei Gao
The mmp_sspa_dai struct is only used in mmp-sspa.c, so make it static.
Cc: Zhangfei Gao <zhangfei.gao@marvell.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
sound/soc/pxa/mmp-sspa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c
index a647799..62142ce 100644
--- a/sound/soc/pxa/mmp-sspa.c
+++ b/sound/soc/pxa/mmp-sspa.c
@@ -388,7 +388,7 @@ static struct snd_soc_dai_ops mmp_sspa_dai_ops = {
.set_fmt = mmp_sspa_set_dai_fmt,
};
-struct snd_soc_dai_driver mmp_sspa_dai = {
+static struct snd_soc_dai_driver mmp_sspa_dai = {
.probe = mmp_sspa_probe,
.playback = {
.channels_min = 1,
--
1.8.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 07/11] ASoC: bf5xx-tdm-pcm: Staticize non exported struct
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
` (4 preceding siblings ...)
2013-05-14 20:19 ` [PATCH 06/11] ASoC: mmp-sspa: Staticize non exported struct Lars-Peter Clausen
@ 2013-05-14 20:19 ` Lars-Peter Clausen
2013-05-15 4:50 ` Mark Brown
2013-05-14 20:19 ` [PATCH 08/11] ASoC: mop500_ab8500: Staticize non exported functions Lars-Peter Clausen
` (4 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Lars-Peter Clausen @ 2013-05-14 20:19 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen, Scott Jiang
The bf5xx_tdm_pcm_ops struct is only used in bf5xx-tdm-pcm.c, so make it static.
Cc: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
sound/soc/blackfin/bf5xx-tdm-pcm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sound/soc/blackfin/bf5xx-tdm-pcm.c b/sound/soc/blackfin/bf5xx-tdm-pcm.c
index 0e6b888..19e855d 100644
--- a/sound/soc/blackfin/bf5xx-tdm-pcm.c
+++ b/sound/soc/blackfin/bf5xx-tdm-pcm.c
@@ -229,8 +229,7 @@ static int bf5xx_pcm_silence(struct snd_pcm_substream *substream,
return 0;
}
-
-struct snd_pcm_ops bf5xx_pcm_tdm_ops = {
+static struct snd_pcm_ops bf5xx_pcm_tdm_ops = {
.open = bf5xx_pcm_open,
.ioctl = snd_pcm_lib_ioctl,
.hw_params = bf5xx_pcm_hw_params,
--
1.8.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 08/11] ASoC: mop500_ab8500: Staticize non exported functions
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
` (5 preceding siblings ...)
2013-05-14 20:19 ` [PATCH 07/11] ASoC: bf5xx-tdm-pcm: " Lars-Peter Clausen
@ 2013-05-14 20:19 ` Lars-Peter Clausen
2013-05-15 4:52 ` Mark Brown
2013-05-14 20:19 ` [PATCH 09/11] ASoC: mop500: Staticize non exported struct Lars-Peter Clausen
` (3 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Lars-Peter Clausen @ 2013-05-14 20:19 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood
Cc: Ola Lilja, alsa-devel, Lars-Peter Clausen, Fabio Baltieri
The mop500_ab8500_startup(), the mop500_ab8500_shutdown() and the
mop500_ab8500_hw_params() function are not used outside of mop500_ab8500, so
make them static.
Cc: Ola Lilja <ola.o.lilja@stericsson.com>
Cc: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
sound/soc/ux500/mop500_ab8500.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/ux500/mop500_ab8500.c b/sound/soc/ux500/mop500_ab8500.c
index 44e25a2..884a362 100644
--- a/sound/soc/ux500/mop500_ab8500.c
+++ b/sound/soc/ux500/mop500_ab8500.c
@@ -183,7 +183,7 @@ static struct snd_kcontrol_new mop500_ab8500_ctrls[] = {
/* ASoC */
-int mop500_ab8500_startup(struct snd_pcm_substream *substream)
+static int mop500_ab8500_startup(struct snd_pcm_substream *substream)
{
struct snd_soc_pcm_runtime *rtd = substream->private_data;
@@ -192,7 +192,7 @@ int mop500_ab8500_startup(struct snd_pcm_substream *substream)
snd_soc_card_get_drvdata(rtd->card));
}
-void mop500_ab8500_shutdown(struct snd_pcm_substream *substream)
+static void mop500_ab8500_shutdown(struct snd_pcm_substream *substream)
{
struct snd_soc_pcm_runtime *rtd = substream->private_data;
struct device *dev = rtd->card->dev;
@@ -206,7 +206,7 @@ void mop500_ab8500_shutdown(struct snd_pcm_substream *substream)
rx_slots = DEF_RX_SLOTS;
}
-int mop500_ab8500_hw_params(struct snd_pcm_substream *substream,
+static int mop500_ab8500_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{
struct snd_soc_pcm_runtime *rtd = substream->private_data;
--
1.8.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 09/11] ASoC: mop500: Staticize non exported struct
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
` (6 preceding siblings ...)
2013-05-14 20:19 ` [PATCH 08/11] ASoC: mop500_ab8500: Staticize non exported functions Lars-Peter Clausen
@ 2013-05-14 20:19 ` Lars-Peter Clausen
2013-05-15 4:52 ` Mark Brown
2013-05-14 20:19 ` [PATCH 10/11] ASoC: sn95031: " Lars-Peter Clausen
` (2 subsequent siblings)
10 siblings, 1 reply; 22+ messages in thread
From: Lars-Peter Clausen @ 2013-05-14 20:19 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood
Cc: Ola Lilja, alsa-devel, Lars-Peter Clausen, Fabio Baltieri
The mop500_dai_links struct is not used outside of mop500.c, so make it static.
Cc: Ola Lilja <ola.o.lilja@stericsson.com>
Cc: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
sound/soc/ux500/mop500.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c
index 204b899..8f5cd00 100644
--- a/sound/soc/ux500/mop500.c
+++ b/sound/soc/ux500/mop500.c
@@ -27,7 +27,7 @@
#include "mop500_ab8500.h"
/* Define the whole MOP500 soundcard, linking platform to the codec-drivers */
-struct snd_soc_dai_link mop500_dai_links[] = {
+static struct snd_soc_dai_link mop500_dai_links[] = {
{
.name = "ab8500_0",
.stream_name = "ab8500_0",
--
1.8.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 10/11] ASoC: sn95031: Staticize non exported struct
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
` (7 preceding siblings ...)
2013-05-14 20:19 ` [PATCH 09/11] ASoC: mop500: Staticize non exported struct Lars-Peter Clausen
@ 2013-05-14 20:19 ` Lars-Peter Clausen
2013-05-15 4:53 ` Mark Brown
2013-05-14 20:19 ` [PATCH 11/11] ASoC: davinci-sffsdr: " Lars-Peter Clausen
2013-05-15 4:46 ` [PATCH 01/11] ASoC: ep93xx-i2s: " Mark Brown
10 siblings, 1 reply; 22+ messages in thread
From: Lars-Peter Clausen @ 2013-05-14 20:19 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood; +Cc: Vinod Koul, alsa-devel, Lars-Peter Clausen
The sn95031_codec struct is not used outside of sn95031.c, so make it static.
Cc: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
sound/soc/codecs/sn95031.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c
index d1ae869d..dba26e63 100644
--- a/sound/soc/codecs/sn95031.c
+++ b/sound/soc/codecs/sn95031.c
@@ -883,7 +883,7 @@ static int sn95031_codec_remove(struct snd_soc_codec *codec)
return 0;
}
-struct snd_soc_codec_driver sn95031_codec = {
+static struct snd_soc_codec_driver sn95031_codec = {
.probe = sn95031_codec_probe,
.remove = sn95031_codec_remove,
.read = sn95031_read,
--
1.8.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH 11/11] ASoC: davinci-sffsdr: Staticize non exported struct
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
` (8 preceding siblings ...)
2013-05-14 20:19 ` [PATCH 10/11] ASoC: sn95031: " Lars-Peter Clausen
@ 2013-05-14 20:19 ` Lars-Peter Clausen
2013-05-15 4:54 ` Mark Brown
2013-05-15 4:46 ` [PATCH 01/11] ASoC: ep93xx-i2s: " Mark Brown
10 siblings, 1 reply; 22+ messages in thread
From: Lars-Peter Clausen @ 2013-05-14 20:19 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen, Gururaja Hebbar
The pcm3008_codec struct is not used outside of davinci-sffsdr.c, so make it
static.
Cc: Gururaja Hebbar <gururaja.hebbar@ti.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
sound/soc/davinci/davinci-sffsdr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/davinci/davinci-sffsdr.c b/sound/soc/davinci/davinci-sffsdr.c
index 5be65aa..24df5bc 100644
--- a/sound/soc/davinci/davinci-sffsdr.c
+++ b/sound/soc/davinci/davinci-sffsdr.c
@@ -106,7 +106,7 @@ static struct pcm3008_setup_data sffsdr_pcm3008_setup = {
.pdda_pin = GPIO(38),
};
-struct platform_device pcm3008_codec = {
+static struct platform_device pcm3008_codec = {
.name = "pcm3008-codec",
.id = 0,
.dev = {
--
1.8.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: [PATCH 04/11] ASoC: spear: spdif_out: Staticize unexported function
2013-05-14 20:19 ` [PATCH 04/11] ASoC: spear: spdif_out: Staticize unexported function Lars-Peter Clausen
@ 2013-05-15 3:47 ` Rajeev kumar
2013-05-15 4:49 ` Mark Brown
1 sibling, 0 replies; 22+ messages in thread
From: Rajeev kumar @ 2013-05-15 3:47 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: alsa-devel@alsa-project.org, Mark Brown, Liam Girdwood
On 5/15/2013 1:49 AM, Lars-Peter Clausen wrote:
> The spdif_soc_dai_probe function is only used in spdif_out.c, so make it static.
>
> Cc: Rajeev Kumar<rajeev-dlh.kumar@st.com>
> Signed-off-by: Lars-Peter Clausen<lars@metafoo.de>
> ---
> sound/soc/spear/spdif_out.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/spear/spdif_out.c b/sound/soc/spear/spdif_out.c
> index fd25cc5..4bde512 100644
> --- a/sound/soc/spear/spdif_out.c
> +++ b/sound/soc/spear/spdif_out.c
> @@ -240,7 +240,7 @@ static const struct snd_kcontrol_new spdif_out_controls[] = {
> spdif_mute_get, spdif_mute_put),
> };
>
> -int spdif_soc_dai_probe(struct snd_soc_dai *dai)
> +static int spdif_soc_dai_probe(struct snd_soc_dai *dai)
> {
> struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai);
>
Acked-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 03/11] ASoC: spear: spdif_in: Staticize non exported struct
2013-05-14 20:19 ` [PATCH 03/11] ASoC: spear: spdif_in: " Lars-Peter Clausen
@ 2013-05-15 3:48 ` Rajeev kumar
2013-05-15 4:48 ` Mark Brown
1 sibling, 0 replies; 22+ messages in thread
From: Rajeev kumar @ 2013-05-15 3:48 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: alsa-devel@alsa-project.org, Mark Brown, Liam Girdwood
On 5/15/2013 1:49 AM, Lars-Peter Clausen wrote:
> The spdif_in_dai struct is not used outside of spdif_in.c, so make it static.
>
> Cc: Rajeev Kumar<rajeev-dlh.kumar@st.com>
> Signed-off-by: Lars-Peter Clausen<lars@metafoo.de>
> ---
> sound/soc/spear/spdif_in.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c
> index 643ada6..f0071dd 100644
> --- a/sound/soc/spear/spdif_in.c
> +++ b/sound/soc/spear/spdif_in.c
> @@ -152,7 +152,7 @@ static struct snd_soc_dai_ops spdif_in_dai_ops = {
> .hw_params = spdif_in_hw_params,
> };
>
> -struct snd_soc_dai_driver spdif_in_dai = {
> +static struct snd_soc_dai_driver spdif_in_dai = {
> .probe = spdif_in_dai_probe,
> .capture = {
> .channels_min = 2,
Acked-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
` (9 preceding siblings ...)
2013-05-14 20:19 ` [PATCH 11/11] ASoC: davinci-sffsdr: " Lars-Peter Clausen
@ 2013-05-15 4:46 ` Mark Brown
10 siblings, 0 replies; 22+ messages in thread
From: Mark Brown @ 2013-05-15 4:46 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: alsa-devel, Ryan Mallon, Liam Girdwood
[-- Attachment #1.1: Type: text/plain, Size: 177 bytes --]
On Tue, May 14, 2013 at 10:19:47PM +0200, Lars-Peter Clausen wrote:
> The ep93xx_i2s_dma_data struct is not used outside of ep93xx-i2s.c, so make it
> static.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 02/11] ASoC: kirkwood-dma: Staticize non exported struct
2013-05-14 20:19 ` [PATCH 02/11] ASoC: kirkwood-dma: " Lars-Peter Clausen
@ 2013-05-15 4:47 ` Mark Brown
0 siblings, 0 replies; 22+ messages in thread
From: Mark Brown @ 2013-05-15 4:47 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: alsa-devel, Liam Girdwood, Arnaud Patard
[-- Attachment #1.1: Type: text/plain, Size: 176 bytes --]
On Tue, May 14, 2013 at 10:19:48PM +0200, Lars-Peter Clausen wrote:
> The kirkwood_dma_ops struct is not used outside of kirkwood-dma.c, so make it
> static.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 03/11] ASoC: spear: spdif_in: Staticize non exported struct
2013-05-14 20:19 ` [PATCH 03/11] ASoC: spear: spdif_in: " Lars-Peter Clausen
2013-05-15 3:48 ` Rajeev kumar
@ 2013-05-15 4:48 ` Mark Brown
1 sibling, 0 replies; 22+ messages in thread
From: Mark Brown @ 2013-05-15 4:48 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: alsa-devel, Rajeev Kumar, Liam Girdwood
[-- Attachment #1.1: Type: text/plain, Size: 166 bytes --]
On Tue, May 14, 2013 at 10:19:49PM +0200, Lars-Peter Clausen wrote:
> The spdif_in_dai struct is not used outside of spdif_in.c, so make it static.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 04/11] ASoC: spear: spdif_out: Staticize unexported function
2013-05-14 20:19 ` [PATCH 04/11] ASoC: spear: spdif_out: Staticize unexported function Lars-Peter Clausen
2013-05-15 3:47 ` Rajeev kumar
@ 2013-05-15 4:49 ` Mark Brown
1 sibling, 0 replies; 22+ messages in thread
From: Mark Brown @ 2013-05-15 4:49 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: alsa-devel, Rajeev Kumar, Liam Girdwood
[-- Attachment #1.1: Type: text/plain, Size: 169 bytes --]
On Tue, May 14, 2013 at 10:19:50PM +0200, Lars-Peter Clausen wrote:
> The spdif_soc_dai_probe function is only used in spdif_out.c, so make it static.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 07/11] ASoC: bf5xx-tdm-pcm: Staticize non exported struct
2013-05-14 20:19 ` [PATCH 07/11] ASoC: bf5xx-tdm-pcm: " Lars-Peter Clausen
@ 2013-05-15 4:50 ` Mark Brown
0 siblings, 0 replies; 22+ messages in thread
From: Mark Brown @ 2013-05-15 4:50 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: alsa-devel, Liam Girdwood, Scott Jiang
[-- Attachment #1.1: Type: text/plain, Size: 169 bytes --]
On Tue, May 14, 2013 at 10:19:53PM +0200, Lars-Peter Clausen wrote:
> The bf5xx_tdm_pcm_ops struct is only used in bf5xx-tdm-pcm.c, so make it static.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 08/11] ASoC: mop500_ab8500: Staticize non exported functions
2013-05-14 20:19 ` [PATCH 08/11] ASoC: mop500_ab8500: Staticize non exported functions Lars-Peter Clausen
@ 2013-05-15 4:52 ` Mark Brown
0 siblings, 0 replies; 22+ messages in thread
From: Mark Brown @ 2013-05-15 4:52 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: Ola Lilja, alsa-devel, Liam Girdwood, Fabio Baltieri
[-- Attachment #1.1: Type: text/plain, Size: 253 bytes --]
On Tue, May 14, 2013 at 10:19:54PM +0200, Lars-Peter Clausen wrote:
> The mop500_ab8500_startup(), the mop500_ab8500_shutdown() and the
> mop500_ab8500_hw_params() function are not used outside of mop500_ab8500, so
> make them static.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 09/11] ASoC: mop500: Staticize non exported struct
2013-05-14 20:19 ` [PATCH 09/11] ASoC: mop500: Staticize non exported struct Lars-Peter Clausen
@ 2013-05-15 4:52 ` Mark Brown
0 siblings, 0 replies; 22+ messages in thread
From: Mark Brown @ 2013-05-15 4:52 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: Ola Lilja, alsa-devel, Liam Girdwood, Fabio Baltieri
[-- Attachment #1.1: Type: text/plain, Size: 168 bytes --]
On Tue, May 14, 2013 at 10:19:55PM +0200, Lars-Peter Clausen wrote:
> The mop500_dai_links struct is not used outside of mop500.c, so make it static.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 10/11] ASoC: sn95031: Staticize non exported struct
2013-05-14 20:19 ` [PATCH 10/11] ASoC: sn95031: " Lars-Peter Clausen
@ 2013-05-15 4:53 ` Mark Brown
0 siblings, 0 replies; 22+ messages in thread
From: Mark Brown @ 2013-05-15 4:53 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: Vinod Koul, alsa-devel, Liam Girdwood
[-- Attachment #1.1: Type: text/plain, Size: 166 bytes --]
On Tue, May 14, 2013 at 10:19:56PM +0200, Lars-Peter Clausen wrote:
> The sn95031_codec struct is not used outside of sn95031.c, so make it static.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH 11/11] ASoC: davinci-sffsdr: Staticize non exported struct
2013-05-14 20:19 ` [PATCH 11/11] ASoC: davinci-sffsdr: " Lars-Peter Clausen
@ 2013-05-15 4:54 ` Mark Brown
0 siblings, 0 replies; 22+ messages in thread
From: Mark Brown @ 2013-05-15 4:54 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: alsa-devel, Liam Girdwood, Gururaja Hebbar
[-- Attachment #1.1: Type: text/plain, Size: 174 bytes --]
On Tue, May 14, 2013 at 10:19:57PM +0200, Lars-Peter Clausen wrote:
> The pcm3008_codec struct is not used outside of davinci-sffsdr.c, so make it
> static.
Applied, thanks
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2013-05-15 4:54 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-14 20:19 [PATCH 01/11] ASoC: ep93xx-i2s: Staticize non exported struct Lars-Peter Clausen
2013-05-14 20:19 ` [PATCH 02/11] ASoC: kirkwood-dma: " Lars-Peter Clausen
2013-05-15 4:47 ` Mark Brown
2013-05-14 20:19 ` [PATCH 03/11] ASoC: spear: spdif_in: " Lars-Peter Clausen
2013-05-15 3:48 ` Rajeev kumar
2013-05-15 4:48 ` Mark Brown
2013-05-14 20:19 ` [PATCH 04/11] ASoC: spear: spdif_out: Staticize unexported function Lars-Peter Clausen
2013-05-15 3:47 ` Rajeev kumar
2013-05-15 4:49 ` Mark Brown
2013-05-14 20:19 ` [PATCH 05/11] ASoC: mmp-pcm: Staticize non exported structs and functions Lars-Peter Clausen
2013-05-14 20:19 ` [PATCH 06/11] ASoC: mmp-sspa: Staticize non exported struct Lars-Peter Clausen
2013-05-14 20:19 ` [PATCH 07/11] ASoC: bf5xx-tdm-pcm: " Lars-Peter Clausen
2013-05-15 4:50 ` Mark Brown
2013-05-14 20:19 ` [PATCH 08/11] ASoC: mop500_ab8500: Staticize non exported functions Lars-Peter Clausen
2013-05-15 4:52 ` Mark Brown
2013-05-14 20:19 ` [PATCH 09/11] ASoC: mop500: Staticize non exported struct Lars-Peter Clausen
2013-05-15 4:52 ` Mark Brown
2013-05-14 20:19 ` [PATCH 10/11] ASoC: sn95031: " Lars-Peter Clausen
2013-05-15 4:53 ` Mark Brown
2013-05-14 20:19 ` [PATCH 11/11] ASoC: davinci-sffsdr: " Lars-Peter Clausen
2013-05-15 4:54 ` Mark Brown
2013-05-15 4:46 ` [PATCH 01/11] ASoC: ep93xx-i2s: " Mark Brown
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.