From: Jean Delvare <jdelvare@suse.de>
To: platform-driver-x86@vger.kernel.org
Cc: "Michał Kępień" <kernel@kempniu.pl>,
"Pali Rohár" <pali.rohar@gmail.com>,
"Darren Hart" <dvhart@infradead.org>
Subject: [PATCH 1/2] dell-wmi, dell-laptop: hide dell-smbios
Date: Thu, 26 May 2016 11:42:12 +0200 [thread overview]
Message-ID: <20160526114212.2b17ee2d@endymion> (raw)
Dell-smbios is a helper module, it serves no purpose on its own, so
do not present it as an option to the user. Instead, select it
automatically whenever a driver which needs it is selected.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Michał Kępień <kernel@kempniu.pl>
Cc: Pali Rohár <pali.rohar@gmail.com>
Cc: Darren Hart <dvhart@infradead.org>
---
drivers/platform/x86/Kconfig | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- linux-4.6.orig/drivers/platform/x86/Kconfig 2016-05-16 00:43:13.000000000 +0200
+++ linux-4.6/drivers/platform/x86/Kconfig 2016-05-26 11:18:50.029103790 +0200
@@ -92,7 +92,7 @@ config ASUS_LAPTOP
If you have an ACPI-compatible ASUS laptop, say Y or M here.
config DELL_SMBIOS
- tristate "Dell SMBIOS Support"
+ tristate
depends on DCDBAS
default n
---help---
@@ -104,12 +104,13 @@ config DELL_SMBIOS
config DELL_LAPTOP
tristate "Dell Laptop Extras"
depends on X86
- depends on DELL_SMBIOS
depends on DMI
depends on BACKLIGHT_CLASS_DEVICE
depends on ACPI_VIDEO || ACPI_VIDEO = n
depends on RFKILL || RFKILL = n
depends on SERIO_I8042
+ depends on DCDBAS
+ select DELL_SMBIOS
select POWER_SUPPLY
select LEDS_CLASS
select NEW_LEDS
@@ -124,7 +125,8 @@ config DELL_WMI
depends on DMI
depends on INPUT
depends on ACPI_VIDEO || ACPI_VIDEO = n
- depends on DELL_SMBIOS
+ depends on DCDBAS
+ select DELL_SMBIOS
select INPUT_SPARSEKMAP
---help---
Say Y here if you want to support WMI-based hotkeys on Dell laptops.
--
Jean Delvare
SUSE L3 Support
next reply other threads:[~2016-05-26 9:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 9:42 Jean Delvare [this message]
2016-06-02 11:03 ` [PATCH 1/2] dell-wmi, dell-laptop: hide dell-smbios Michał Kępień
2016-06-02 11:10 ` Pali Rohár
2016-06-02 21:03 ` Jean Delvare
2016-06-07 11:30 ` Pali Rohár
2016-06-08 21:57 ` Darren Hart
2016-06-08 21:57 ` 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=20160526114212.2b17ee2d@endymion \
--to=jdelvare@suse.de \
--cc=dvhart@infradead.org \
--cc=kernel@kempniu.pl \
--cc=pali.rohar@gmail.com \
--cc=platform-driver-x86@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.