From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ASoC: bt-sco: enable OF support
Date: Wed, 17 Jul 2013 19:18:37 +0400 [thread overview]
Message-ID: <51E6B5CD.1010001@cogentembedded.com> (raw)
In-Reply-To: <1374041536-27643-1-git-send-email-Baohua.Song@csr.com>
Hello.
On 17-07-2013 10:12, Barry Song wrote:
> From: Rongjun Ying <Rongjun.Ying@csr.com>
> this makes users be able to add a bt-sco node in dts instead of
> hardcoding a platform device in mach.
> Signed-off-by: Rongjun Ying <Rongjun.Ying@csr.com>
> Signed-off-by: Barry Song <Baohua.Song@csr.com>
> ---
> sound/soc/codecs/bt-sco.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
> diff --git a/sound/soc/codecs/bt-sco.c b/sound/soc/codecs/bt-sco.c
> index a081d9f..39e7ebe 100644
> --- a/sound/soc/codecs/bt-sco.c
> +++ b/sound/soc/codecs/bt-sco.c
[...]
> @@ -58,6 +66,9 @@ static struct platform_driver bt_sco_driver = {
> .driver = {
> .name = "bt-sco",
> .owner = THIS_MODULE,
> +#ifdef CONFIG_OF
> + .of_match_table = bt_sco_of_match,
> +#endif
.of_match_table = of_match_ptr(bt_sco_of_match),
will get rid of #ifdef here.
WBR, Sergei
prev parent reply other threads:[~2013-07-17 15:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-17 6:12 [PATCH 1/3] ASoC: bt-sco: enable OF support Barry Song
2013-07-17 6:12 ` [PATCH 2/3] ASoC: hdmi-codec: " Barry Song
2013-07-17 8:49 ` Mark Rutland
2013-07-17 9:57 ` Mark Brown
2013-08-06 0:03 ` [alsa-devel] " Barry Song
2013-07-17 6:12 ` [PATCH 3/3] ASoC: hdmi-codec: let the driver support HDMI sink Barry Song
2013-07-17 9:52 ` Mark Brown
2013-07-17 8:40 ` [PATCH 1/3] ASoC: bt-sco: enable OF support Mark Rutland
2013-07-17 9:47 ` Mark Brown
2013-08-06 0:09 ` [alsa-devel] " Barry Song
2013-08-06 17:04 ` Mark Brown
2013-08-07 7:59 ` Barry Song
2013-08-07 14:46 ` Mark Brown
2013-08-09 8:41 ` Barry Song
2013-08-11 11:05 ` Mark Brown
2013-07-17 15:18 ` Sergei Shtylyov [this message]
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=51E6B5CD.1010001@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 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).