public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead•org>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
	Corentin Chary <corentin.chary@gmail•com>,
	acpi4asus-user@lists•sourceforge.net,
	Platform Driver <platform-driver-x86@vger•kernel.org>,
	Matthew Garrett <matthew.garrett@nebula•com>
Subject: [PATCH] platform/x86: fix asus-wmi build error
Date: Mon, 16 Sep 2013 11:10:51 -0700	[thread overview]
Message-ID: <523749AB.7010805@infradead.org> (raw)
In-Reply-To: <20130916131310.d526decb36e4a57d736a0cea@canb.auug.org.au>

From: Randy Dunlap <rdunlap@infradead•org>

Fix build error in asus_wmi.c when ASUS_WMI=y and ACPI_VIDEO=m
by preventing that combination.

drivers/built-in.o: In function `asus_wmi_probe':
asus-wmi.c:(.text+0x65ddb4): undefined reference to `acpi_video_unregister'

Signed-off-by: Randy Dunlap <rdunlap@infradead•org>
---
Found in linux-next but applies to mainline.

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

--- linux-next-20130916.orig/drivers/platform/x86/Kconfig
+++ linux-next-20130916/drivers/platform/x86/Kconfig
@@ -504,6 +504,7 @@ config ASUS_WMI
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on RFKILL || RFKILL = n
 	depends on HOTPLUG_PCI
+	depends on ACPI_VIDEO || ACPI_VIDEO = n
 	select INPUT_SPARSEKMAP
 	select LEDS_CLASS
 	select NEW_LEDS

      reply	other threads:[~2013-09-16 18:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-16  3:13 linux-next: Tree for Sep 16 Stephen Rothwell
2013-09-16 18:10 ` Randy Dunlap [this message]

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=523749AB.7010805@infradead.org \
    --to=rdunlap@infradead$(echo .)org \
    --cc=acpi4asus-user@lists$(echo .)sourceforge.net \
    --cc=corentin.chary@gmail$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=matthew.garrett@nebula$(echo .)com \
    --cc=platform-driver-x86@vger$(echo .)kernel.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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