alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Sachin Kamat <sachin.kamat@linaro.org>
To: alsa-devel@alsa-project.org
Cc: Lucas Stach <dev@lynxeye.de>,
	tiwai@suse.de, broonie@opensource.wolfsonmicro.com,
	lgirdwood@gmail.com, sachin.kamat@linaro.org, swarren@nvidia.com
Subject: [PATCH 1/4] ASoC: tegra_wm9712: Remove __devinitconst attribute
Date: Thu, 24 Jan 2013 14:51:15 +0530	[thread overview]
Message-ID: <1359019278-1199-2-git-send-email-sachin.kamat@linaro.org> (raw)
In-Reply-To: <1359019278-1199-1-git-send-email-sachin.kamat@linaro.org>

This has been removed from the kernel recently and gives following build errors:
sound/soc/tegra/tegra_wm9712.c:155:58: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitconst’
sound/soc/tegra/tegra_wm9712.c:165:21: error:
‘tegra_wm9712_of_match’ undeclared here (not in a function)

Cc: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
---
 sound/soc/tegra/tegra_wm9712.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c
index cdbd2f0..68d4240 100644
--- a/sound/soc/tegra/tegra_wm9712.c
+++ b/sound/soc/tegra/tegra_wm9712.c
@@ -152,7 +152,7 @@ static int tegra_wm9712_driver_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static const struct of_device_id tegra_wm9712_of_match[] __devinitconst = {
+static const struct of_device_id tegra_wm9712_of_match[] = {
 	{ .compatible = "nvidia,tegra-audio-wm9712", },
 	{},
 };
-- 
1.7.4.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2013-01-24  9:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24  9:21 [PATCH Resend 0/4] ASoC: tegra: Some fixes in codec files Sachin Kamat
2013-01-24  9:21 ` Sachin Kamat [this message]
2013-01-24  9:21 ` [PATCH 2/4] ASoC: tegra20_ac97: Remove __devinitconst attribute Sachin Kamat
2013-01-24  9:21 ` [PATCH 3/4] ASoC: tegra: Use NULL instead of 0 for pointers Sachin Kamat
2013-01-24  9:21 ` [PATCH 4/4] ASoC: tegra: Staticize some functions in tegra30_i2s.c Sachin Kamat
2013-01-24 10:55 ` [PATCH Resend 0/4] ASoC: tegra: Some fixes in codec files Mark Brown

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=1359019278-1199-2-git-send-email-sachin.kamat@linaro.org \
    --to=sachin.kamat@linaro.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=dev@lynxeye.de \
    --cc=lgirdwood@gmail.com \
    --cc=swarren@nvidia.com \
    --cc=tiwai@suse.de \
    /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).