linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: linux-kernel@vger.kernel.org, mjg@redhat.com, stable@kernel.org,
	ak@linux.intel.com
Subject: [PATCH] Make ACPI_CMPC depend on RFKILL
Date: Sun, 8 Aug 2010 18:07:38 +0200	[thread overview]
Message-ID: <20100808160738.GA24188@basil.fritz.box> (raw)

Make ACPI_CMPC depend on RFKILL

This fixes 

drivers/built-in.o: In function `cmpc_ipml_remove':
classmate-laptop.c:(.text+0xa92be): undefined reference to `rfkill_unregister'
classmate-laptop.c:(.text+0xa92c6): undefined reference to `rfkill_destroy'
drivers/built-in.o: In function `cmpc_rfkill_query':
classmate-laptop.c:(.text+0xa9325): undefined reference to `rfkill_set_sw_state'
drivers/built-in.o: In function `cmpc_ipml_add':                               
classmate-laptop.c:(.text+0xa9499): undefined reference to `rfkill_alloc'       
classmate-laptop.c:(.text+0xa94aa): undefined reference to `rfkill_register'    
classmate-laptop.c:(.text+0xa94b6): undefined reference to `rfkill_destroy'     
make: *** [.tmp_vmlinux1] Error 1                                               
root@son2:~/linux-2.6.35#                      

Cc: stable@kernel.org

Signed-off-by: Andi Kleen <ak@linux.intel.com>

---
 drivers/platform/x86/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6.35-ak/drivers/platform/x86/Kconfig
===================================================================
--- linux-2.6.35-ak.orig/drivers/platform/x86/Kconfig
+++ linux-2.6.35-ak/drivers/platform/x86/Kconfig
@@ -522,6 +522,7 @@ config ACPI_CMPC
 	depends on X86 && ACPI
 	select INPUT
 	select BACKLIGHT_CLASS_DEVICE
+	depends on RFKILL || RFKILL = n
 	default n
 	help
 	  Support for Intel Classmate PC ACPI devices, including some

                 reply	other threads:[~2010-08-08 16:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20100808160738.GA24188@basil.fritz.box \
    --to=andi@firstfloor.org \
    --cc=ak@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg@redhat.com \
    --cc=stable@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;
as well as URLs for NNTP newsgroup(s).