x86 platform drivers: make Dell laptop driver select needed LED support
commitb9c913f327ccc5cf422b6dc9b5acfbc9b86e7b62
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Nov 2011 20:17:25 +0000 (8 12:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Nov 2011 20:17:25 +0000 (8 12:17 -0800)
treeaf7f7f62fe10a962f4c2b48efd960c10be6df25d
parenta8d12007c795f3d69ee0b2d29f0abfefd55c6120
x86 platform drivers: make Dell laptop driver select needed LED support

Otherwise we get compile errors like this:

  ERROR: "led_classdev_unregister" [drivers/platform/x86/dell-laptop.ko] undefined!
  ERROR: "led_classdev_register" [drivers/platform/x86/dell-laptop.ko] undefined!
  make[1]: *** [__modpost] Error 1
  make: *** [modules] Error 2

when the dell-laptop support is enabled without the necessary LED
support being enabled.

Reported-by: Alessandro Suardi <alessandro.suardi@gmail.com>
Acked-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/platform/x86/Kconfig