public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Amerigo Wang <amwang@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>,
	Corentin Chary <corentincj@iksaif.net>,
	ibm-acpi-devel@lists.sourceforge.net,
	Len Brown <len.brown@intel.com>, Amerigo Wang <amwang@redhat.com>,
	Alan Jenkins <alan-jenkins@tuffmail.co.uk>,
	akpm@linux-foundation.org, helight.xu@gmail.com
Subject: [Patch] thinkpad_acpi: fix a build error
Date: Fri, 18 Dec 2009 04:28:27 -0500	[thread overview]
Message-ID: <20091218093132.4415.23424.sendpatchset@localhost.localdomain> (raw)


This patch fixes the following build error:

 Building modules, stage 2.
 MODPOST 1834 modules
ERROR: "snd_card_create" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
ERROR: "snd_ctl_notify" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
ERROR: "snd_ctl_boolean_mono_info" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
ERROR: "snd_ctl_new1" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
ERROR: "snd_card_free" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
ERROR: "snd_card_register" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
ERROR: "snd_ctl_add" [drivers/platform/x86/thinkpad_acpi.ko] undefined!

Cc: Len Brown <len.brown@intel.com>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Reported-by: Helight.Xu <helight.xu@gmail.com>
Signed-off-by: WANG Cong <amwang@redhat.com>
Tested-by: Helight.Xu <helight.xu@gmail.com>

---
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index fc5bf9d..596966c 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -215,6 +215,7 @@ config THINKPAD_ACPI
 	depends on ACPI
 	depends on INPUT
 	depends on RFKILL || RFKILL = n
+	depends on SOUND
 	select BACKLIGHT_LCD_SUPPORT
 	select BACKLIGHT_CLASS_DEVICE
 	select HWMON

             reply	other threads:[~2009-12-18  9:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-18  9:28 Amerigo Wang [this message]
2009-12-18  9:42 ` [Patch] thinkpad_acpi: fix a build error Xiaotian Feng
2009-12-18 10:15   ` Takashi Iwai
2009-12-18 12:23     ` Helight.Xu
2009-12-18 14:28     ` Henrique de Moraes Holschuh
2009-12-18 14:31       ` Takashi Iwai
2009-12-18 15:03         ` Henrique de Moraes Holschuh
2009-12-18 15:10           ` Takashi Iwai
2009-12-21 22:38       ` Marcel Holtmann
2009-12-21 22:44         ` Randy Dunlap
2009-12-22 19:38           ` Henrique de Moraes Holschuh
2009-12-23  6:41             ` Takashi Iwai
2009-12-24 18:59               ` Henrique de Moraes Holschuh
2009-12-25 11:09                 ` Takashi Iwai
2009-12-25 13:41                   ` [ibm-acpi-devel] " Henrique de Moraes Holschuh
2009-12-25 18:39                     ` Randy Dunlap
2009-12-22  1:10         ` Helight.Xu
2009-12-22  3:00           ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2009-12-18 13:23 [PATCH] " Helight.Xu
2009-12-18 13:28 ` Helight.Xu

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=20091218093132.4415.23424.sendpatchset@localhost.localdomain \
    --to=amwang@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=alan-jenkins@tuffmail.co.uk \
    --cc=corentincj@iksaif.net \
    --cc=helight.xu@gmail.com \
    --cc=hmh@hmh.eng.br \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.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