linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sony-laptop should depend on RFKILL
@ 2009-03-31 22:34 Alexander Beregalov
  2009-03-31 22:35 ` Matthew Garrett
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Beregalov @ 2009-03-31 22:34 UTC (permalink / raw)
  To: Matthew Garrett, Mattia Dongili, Len Brown, linux-next,
	linux-kernel

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>
---

 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.

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] sony-laptop should depend on RFKILL
  2009-03-31 22:34 [PATCH] sony-laptop should depend on RFKILL Alexander Beregalov
@ 2009-03-31 22:35 ` Matthew Garrett
  2009-04-01 12:59   ` Mattia Dongili
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Garrett @ 2009-03-31 22:35 UTC (permalink / raw)
  To: Alexander Beregalov; +Cc: Mattia Dongili, Len Brown, linux-next, linux-kernel

On Wed, Apr 01, 2009 at 02:34:07AM +0400, Alexander Beregalov wrote:
> 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>

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] sony-laptop should depend on RFKILL
  2009-03-31 22:35 ` Matthew Garrett
@ 2009-04-01 12:59   ` Mattia Dongili
  0 siblings, 0 replies; 3+ messages in thread
From: Mattia Dongili @ 2009-04-01 12:59 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: Alexander Beregalov, Len Brown, linux-next, linux-kernel

On Tue, Mar 31, 2009 at 11:35:55PM +0100, Matthew Garrett wrote:
> On Wed, Apr 01, 2009 at 02:34:07AM +0400, Alexander Beregalov wrote:
> > 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>

Thanks, applied and forwarding it to Len now with other fixes for
2.6.30.
-- 
mattia
:wq!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-01 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 22:34 [PATCH] sony-laptop should depend on RFKILL Alexander Beregalov
2009-03-31 22:35 ` Matthew Garrett
2009-04-01 12:59   ` Mattia Dongili

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).