From: "Pali Rohár" <pali.rohar@gmail.com>
To: Darren Hart <dvhart@infradead.org>
Cc: Jim Davis <jim.epost@gmail.com>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-next <linux-next@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
platform-driver-x86@vger.kernel.org
Subject: Re: randconfig build error with next-20150521, in drivers/platform/x86/dell-rbtn.c
Date: Thu, 21 May 2015 22:07:11 +0200 [thread overview]
Message-ID: <201505212207.11872@pali> (raw)
In-Reply-To: <20150521195615.GF22037@vmdeb7>
[-- Attachment #1: Type: Text/Plain, Size: 1927 bytes --]
On Thursday 21 May 2015 21:56:15 Darren Hart wrote:
> On Thu, May 21, 2015 at 10:36:15AM -0700, Jim Davis wrote:
> > Building with the attached random configuration file,
> >
> > drivers/built-in.o: In function `rbtn_remove':
> > dell-rbtn.c:(.text+0x31d7f4): undefined reference to
> > `input_unregister_device' drivers/built-in.o: In function
> > `rbtn_notify':
> > dell-rbtn.c:(.text+0x31d8e5): undefined reference to `input_event'
> > dell-rbtn.c:(.text+0x31d8f8): undefined reference to `input_event'
> > dell-rbtn.c:(.text+0x31d911): undefined reference to `input_event'
> > dell-rbtn.c:(.text+0x31d924): undefined reference to `input_event'
> > drivers/built-in.o: In function `rbtn_add':
> > dell-rbtn.c:(.text+0x31da11): undefined reference to
> > `input_allocate_device' dell-rbtn.c:(.text+0x31da4a): undefined
> > reference to `input_register_device' dell-rbtn.c:(.text+0x31da5e):
> > undefined reference to `input_free_device' Makefile:938: recipe
> > for target 'vmlinux' failed
>
> Thanks Jim,
>
> Pali, the DELL_RBTN needs to ensure if it it's built-in, that INPUT
> is too. ...
>
> > CONFIG_INPUT=m
> > CONFIG_INPUT_FF_MEMLESS=m
> > CONFIG_INPUT_POLLDEV=m
> > CONFIG_INPUT_SPARSEKMAP=m
> > CONFIG_INPUT_MATRIXKMAP=m
>
> ...
>
> > CONFIG_DELL_RBTN=y
>
> Please submit a fix as a new patch.
I believe that this patch is needed:
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 8c03223..d025fd8 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -141,6 +141,7 @@ config DELL_SMO8800
config DELL_RBTN
tristate "Dell Airplane Mode Switch driver"
depends on ACPI
+ depends on INPUT
depends on RFKILL
---help---
Say Y here if you want to support Dell Airplane Mode Switch ACPI
I did not tested it yet, but all other drivers depends on INPUT.
--
Pali Rohár
pali.rohar@gmail.com
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2015-05-21 20:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-21 17:36 randconfig build error with next-20150521, in drivers/platform/x86/dell-rbtn.c Jim Davis
2015-05-21 19:56 ` Darren Hart
2015-05-21 20:07 ` Pali Rohár [this message]
2015-05-25 4:20 ` Darren Hart
2015-06-01 16:40 ` Randy Dunlap
2015-06-01 17:26 ` Darren Hart
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=201505212207.11872@pali \
--to=pali.rohar@gmail.com \
--cc=dvhart@infradead.org \
--cc=jim.epost@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/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).