From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Leon Romanovsky <leon@leon.nu>
Cc: alsa-devel@alsa-project.org, lrg@ti.com
Subject: Re: [PATCH 2/6] ASoC: alc5632: Fix compile without CONFIG_I2C
Date: Wed, 16 Nov 2011 10:35:21 +0000 [thread overview]
Message-ID: <20111116103521.GA3072@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1321438023-29660-3-git-send-email-leon@leon.nu>
On Wed, Nov 16, 2011 at 12:06:59PM +0200, Leon Romanovsky wrote:
> +#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
> static __devinit int alc5632_i2c_probe(struct i2c_client *client,
> const struct i2c_device_id *id)
> {
> @@ -1203,24 +1204,27 @@ static struct i2c_driver alc5632_i2c_driver = {
> .remove = __devexit_p(alc5632_i2c_remove),
> .id_table = alc5632_i2c_table,
> };
> +#endif
This is only needed if the driver supports more than one control
interface. If it only supports I2C then this should be sorted out at
Kconfig stage.
next prev parent reply other threads:[~2011-11-16 10:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 10:06 [PATCH 0/6] ASoC: Convert ALC5632 codec to use regmap API Leon Romanovsky
2011-11-16 10:06 ` [PATCH 1/6] " Leon Romanovsky
2011-11-16 10:42 ` Mark Brown
2011-11-16 10:06 ` [PATCH 2/6] ASoC: alc5632: Fix compile without CONFIG_I2C Leon Romanovsky
2011-11-16 10:35 ` Mark Brown [this message]
2011-11-16 19:11 ` Leon Romanovsky
2011-11-17 14:20 ` Mark Brown
2011-11-16 10:07 ` [PATCH 3/6] ASoC: alc5632: Fix compile without CONFIG_PM Leon Romanovsky
2011-11-16 10:42 ` Mark Brown
2011-11-16 10:07 ` [PATCH 4/6] ASoC: alc5632: Remove unrelevant registers and name the relevant Leon Romanovsky
2011-11-16 10:36 ` Mark Brown
2011-11-16 10:07 ` [PATCH 5/6] ASoC: alc5632: Added support of two undocumented registers Leon Romanovsky
2011-11-16 10:37 ` Mark Brown
2011-11-16 19:43 ` Leon Romanovsky
2011-11-17 13:42 ` Mark Brown
2011-11-16 10:07 ` [PATCH 6/6] ASoC: alc5632: Update of i2c_probe function to use regmap API only Leon Romanovsky
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=20111116103521.GA3072@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=leon@leon.nu \
--cc=lrg@ti.com \
/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.