* [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE
@ 2011-03-04 7:18 Axel Lin
2011-03-04 7:22 ` [PATCH 2/2] ASoC: Constify i2c_device_id table Axel Lin
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Axel Lin @ 2011-03-04 7:18 UTC (permalink / raw)
To: linux-kernel; +Cc: Peter Ujfalusi, Liam Girdwood, Mark Brown, alsa-devel
The device table is required to load modules based on modaliases.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
sound/soc/codecs/tlv320dac33.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c
index 71d7be8..00b6d87 100644
--- a/sound/soc/codecs/tlv320dac33.c
+++ b/sound/soc/codecs/tlv320dac33.c
@@ -1615,6 +1615,7 @@ static const struct i2c_device_id tlv320dac33_i2c_id[] = {
},
{ },
};
+MODULE_DEVICE_TABLE(i2c, tlv320dac33_i2c_id);
static struct i2c_driver tlv320dac33_i2c_driver = {
.driver = {
--
1.7.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/2] ASoC: Constify i2c_device_id table
2011-03-04 7:18 [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE Axel Lin
@ 2011-03-04 7:22 ` Axel Lin
2011-03-04 7:32 ` Alexander Sverdlin
2011-03-04 12:41 ` Tabi Timur-B04825
2011-03-04 13:49 ` [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE Peter Ujfalusi
2011-03-07 11:46 ` Mark Brown
2 siblings, 2 replies; 8+ messages in thread
From: Axel Lin @ 2011-03-04 7:22 UTC (permalink / raw)
To: linux-kernel
Cc: Alexander Sverdlin, Timur Tabi, Liam Girdwood, Mark Brown,
alsa-devel
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Alexander Sverdlin <subaparts@yandex.ru>
Cc: Timur Tabi <timur@freescale.com>
---
sound/soc/codecs/cs4270.c | 2 +-
sound/soc/codecs/cs4271.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
index 65f578f..0206a17 100644
--- a/sound/soc/codecs/cs4270.c
+++ b/sound/soc/codecs/cs4270.c
@@ -719,7 +719,7 @@ static int cs4270_i2c_remove(struct i2c_client *i2c_client)
/*
* cs4270_id - I2C device IDs supported by this driver
*/
-static struct i2c_device_id cs4270_id[] = {
+static const struct i2c_device_id cs4270_id[] = {
{"cs4270", 0},
{}
};
diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c
index 1791796..41a3ee6 100644
--- a/sound/soc/codecs/cs4271.c
+++ b/sound/soc/codecs/cs4271.c
@@ -555,7 +555,7 @@ static struct spi_driver cs4271_spi_driver = {
#endif /* defined(CONFIG_SPI_MASTER) */
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
-static struct i2c_device_id cs4271_i2c_id[] = {
+static const struct i2c_device_id cs4271_i2c_id[] = {
{"cs4271", 0},
{}
};
--
1.7.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] ASoC: Constify i2c_device_id table
2011-03-04 7:22 ` [PATCH 2/2] ASoC: Constify i2c_device_id table Axel Lin
@ 2011-03-04 7:32 ` Alexander Sverdlin
2011-03-07 10:49 ` Liam Girdwood
2011-03-04 12:41 ` Tabi Timur-B04825
1 sibling, 1 reply; 8+ messages in thread
From: Alexander Sverdlin @ 2011-03-04 7:32 UTC (permalink / raw)
To: Axel Lin; +Cc: alsa-devel, Mark Brown, linux-kernel, Liam, Timur Tabi, Girdwood
On Fri, 2011-03-04 at 15:22 +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> Cc: Alexander Sverdlin <subaparts@yandex.ru>
> Cc: Timur Tabi <timur@freescale.com>
> ---
> sound/soc/codecs/cs4270.c | 2 +-
> sound/soc/codecs/cs4271.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
Acked-by: Alexander Sverdlin <subaparts@yandex.ru>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] ASoC: Constify i2c_device_id table
2011-03-04 7:22 ` [PATCH 2/2] ASoC: Constify i2c_device_id table Axel Lin
2011-03-04 7:32 ` Alexander Sverdlin
@ 2011-03-04 12:41 ` Tabi Timur-B04825
1 sibling, 0 replies; 8+ messages in thread
From: Tabi Timur-B04825 @ 2011-03-04 12:41 UTC (permalink / raw)
To: Axel Lin
Cc: linux-kernel@vger.kernel.org, Alexander Sverdlin, Liam Girdwood,
Mark Brown, alsa-devel@alsa-project.org
Axel Lin wrote:
> Signed-off-by: Axel Lin<axel.lin@gmail.com>
> Cc: Alexander Sverdlin<subaparts@yandex.ru>
> Cc: Timur Tabi<timur@freescale.com>
> ---
Acked-by: Timur Tabi <timur@freescale.com>
--
Timur Tabi
Linux kernel developer
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE
2011-03-04 7:18 [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE Axel Lin
2011-03-04 7:22 ` [PATCH 2/2] ASoC: Constify i2c_device_id table Axel Lin
@ 2011-03-04 13:49 ` Peter Ujfalusi
2011-03-07 10:48 ` Liam Girdwood
2011-03-07 11:46 ` Mark Brown
2 siblings, 1 reply; 8+ messages in thread
From: Peter Ujfalusi @ 2011-03-04 13:49 UTC (permalink / raw)
To: ext Axel Lin; +Cc: alsa-devel, Mark Brown, linux-kernel, Liam Girdwood
On 03/04/11 09:18, ext Axel Lin wrote:
> The device table is required to load modules based on modaliases.
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE
2011-03-04 13:49 ` [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE Peter Ujfalusi
@ 2011-03-07 10:48 ` Liam Girdwood
0 siblings, 0 replies; 8+ messages in thread
From: Liam Girdwood @ 2011-03-07 10:48 UTC (permalink / raw)
To: Peter Ujfalusi; +Cc: ext Axel Lin, Brown, linux-kernel, alsa-devel, Mark
On Fri, 2011-03-04 at 15:49 +0200, Peter Ujfalusi wrote:
> On 03/04/11 09:18, ext Axel Lin wrote:
> > The device table is required to load modules based on modaliases.
> >
> > Signed-off-by: Axel Lin <axel.lin@gmail.com>
>
> Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@ti.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] ASoC: Constify i2c_device_id table
2011-03-04 7:32 ` Alexander Sverdlin
@ 2011-03-07 10:49 ` Liam Girdwood
0 siblings, 0 replies; 8+ messages in thread
From: Liam Girdwood @ 2011-03-07 10:49 UTC (permalink / raw)
To: Alexander Sverdlin
Cc: alsa-devel, Liam, Mark Brown, linux-kernel, Axel Lin, Timur Tabi
On Fri, 2011-03-04 at 10:32 +0300, Alexander Sverdlin wrote:
> On Fri, 2011-03-04 at 15:22 +0800, Axel Lin wrote:
> > Signed-off-by: Axel Lin <axel.lin@gmail.com>
> > Cc: Alexander Sverdlin <subaparts@yandex.ru>
> > Cc: Timur Tabi <timur@freescale.com>
> > ---
> > sound/soc/codecs/cs4270.c | 2 +-
> > sound/soc/codecs/cs4271.c | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
>
> Acked-by: Alexander Sverdlin <subaparts@yandex.ru>
>
Acked-by: Liam Girdwood <lrg@ti.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE
2011-03-04 7:18 [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE Axel Lin
2011-03-04 7:22 ` [PATCH 2/2] ASoC: Constify i2c_device_id table Axel Lin
2011-03-04 13:49 ` [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE Peter Ujfalusi
@ 2011-03-07 11:46 ` Mark Brown
2 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2011-03-07 11:46 UTC (permalink / raw)
To: Axel Lin; +Cc: alsa-devel, Peter Ujfalusi, linux-kernel, Liam Girdwood
On Fri, Mar 04, 2011 at 03:18:18PM +0800, Axel Lin wrote:
> The device table is required to load modules based on modaliases.
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Applied both, thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-03-07 11:46 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 7:18 [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE Axel Lin
2011-03-04 7:22 ` [PATCH 2/2] ASoC: Constify i2c_device_id table Axel Lin
2011-03-04 7:32 ` Alexander Sverdlin
2011-03-07 10:49 ` Liam Girdwood
2011-03-04 12:41 ` Tabi Timur-B04825
2011-03-04 13:49 ` [PATCH 1/2] ASoC: tlv320dac33: add MODULE_DEVICE_TABLE Peter Ujfalusi
2011-03-07 10:48 ` Liam Girdwood
2011-03-07 11:46 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).