aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/Kconfig
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2011-03-22 19:30:26 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-22 20:44:00 -0400
commit23a9847f0d5252872c4fecb5d4f803c523bd9283 (patch)
treec85e4580d76007cfe486804e88c71b3ec2e074ab /drivers/video/backlight/Kconfig
parent9661e92c10a9775243c1ecb73373528ed8725a10 (diff)
mbp_nvidia_bl: remove DMI dependency
This driver only has to deal with two different classes of hardware, but right now it needs new DMI entries for every new machine. It turns out that there's an ACPI device that uniquely identifies Apples with backlights, so this patch reworks the driver into an ACPI one, identifies the hardware by checking the PCI vendor of the root bridge and strips out all the DMI code. It also changes the config text to clarify that it works on devices other than Macbook Pros and GPUs other than nvidia. Signed-off-by: Matthew Garrett <mjg@redhat.com> Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Mourad De Clerck <mourad@aquazul.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/backlight/Kconfig')
-rw-r--r--drivers/video/backlight/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
index 39a4cd258d5..aa8cf9d2e34 100644
--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -244,12 +244,12 @@ config BACKLIGHT_MAX8925
244 If you have a LCD backlight connected to the WLED output of MAX8925 244 If you have a LCD backlight connected to the WLED output of MAX8925
245 WLED output, say Y here to enable this driver. 245 WLED output, say Y here to enable this driver.
246 246
247config BACKLIGHT_MBP_NVIDIA 247config BACKLIGHT_MACBOOK
248 tristate "MacBook Pro Nvidia Backlight Driver" 248 tristate "MacBook Backlight Driver"
249 depends on X86 249 depends on X86
250 help 250 help
251 If you have an Apple Macbook Pro with Nvidia graphics hardware say Y 251 If you have an Apple Macbook say Y to enable a driver for its
252 to enable a driver for its backlight 252 backlight
253 253
254config BACKLIGHT_TOSA 254config BACKLIGHT_TOSA
255 tristate "Sharp SL-6000 Backlight Driver" 255 tristate "Sharp SL-6000 Backlight Driver"