public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Mattia Dongili <malattia@linux.it>
To: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org,
	Alexander Beregalov <a.beregalov@gmail.com>,
	Mattia Dongili <malattia@linux.it>
Subject: [PATCH 3/4] sony-laptop should depend on RFKILL
Date: Wed,  1 Apr 2009 22:10:46 +0900	[thread overview]
Message-ID: <1238591447-13338-4-git-send-email-malattia@linux.it> (raw)
In-Reply-To: <1238591447-13338-3-git-send-email-malattia@linux.it>

From: Alexander Beregalov <a.beregalov@gmail.com>

Fixes this build error when RFKILL is not set:

drivers/platform/x86/sony-laptop.c:1050: undefined reference to `rfkill_unregister'
and so on..

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Mattia Dongili <malattia@linux.it>
---
 drivers/platform/x86/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 3608081..36b1628 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -165,6 +165,7 @@ config SONY_LAPTOP
 	depends on ACPI
 	select BACKLIGHT_CLASS_DEVICE
 	depends on INPUT
+	depends on RFKILL
 	  ---help---
 	  This mini-driver drives the SNC and SPIC devices present in the ACPI
 	  BIOS of the Sony Vaio laptops.
-- 
1.6.2.1


  reply	other threads:[~2009-04-01 13:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01 13:10 [PATCH 0/4] sony-laptop fixes for 2.6.30 Mattia Dongili
2009-04-01 13:10 ` [PATCH 1/4] sony-laptop: Fix some typos in log messages (Unabe/Unable) Mattia Dongili
2009-04-01 13:10   ` [PATCH 2/4] sony-laptop: new style events typo fixes Mattia Dongili
2009-04-01 13:10     ` Mattia Dongili [this message]
2009-04-01 13:10       ` [PATCH 4/4] sony-laptop: fix event reporting for new style events Mattia Dongili
2009-04-03 17:09 ` [PATCH 0/4] sony-laptop fixes for 2.6.30 Len 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=1238591447-13338-4-git-send-email-malattia@linux.it \
    --to=malattia@linux.it \
    --cc=a.beregalov@gmail.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@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