[alsa-devel] [PATCH 1/3] ASoC: alc5632: add an of_match table
Thierry Reding
thierry.reding at gmail.com
Mon Mar 31 21:23:52 CEST 2014
On Mon, Mar 31, 2014 at 12:38:16PM -0600, Stephen Warren wrote:
[...]
> diff --git a/sound/soc/codecs/alc5632.c b/sound/soc/codecs/alc5632.c
[...]
> +static const struct of_device_id alc5632_of_match[] = {
> + { .compatible = "realtek,alc5632", },
> + { }
> +};
> +MODULE_DEVICE_TABLE(of, alc5632_of_match);
Doesn't this need #ifdef protection to prevent warnings about this being
unused for !OF?
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140331/c122084f/attachment.sig>
More information about the Alsa-devel
mailing list