drivers/video/backlight/aat2870_bl.c: make it buildable as a module
authorAndrew Morton <[email protected]>
Wed, 3 Aug 2011 23:21:17 +0000 (16:21 -0700)
committerLinus Torvalds <[email protected]>
Thu, 4 Aug 2011 00:25:22 +0000 (14:25 -1000)
i386 allmodconfig:

  drivers/built-in.o: In function `aat2870_bl_remove':
  aat2870_bl.c:(.text+0x414f9): undefined reference to `backlight_device_unregister'
  drivers/built-in.o: In function `aat2870_bl_probe':
  aat2870_bl.c:(.text+0x418fc): undefined reference to `backlight_device_register'
  aat2870_bl.c:(.text+0x41a31): undefined reference to `backlight_device_unregiste

Cc: Jin Park <[email protected]>
Cc: Samuel Ortiz <[email protected]>
Cc: Axel Lin <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/backlight/Kconfig

index 69407e72aac1a9291d2ceb3dec812da2063cf94b..278aeaa925059673fdcefa7b1c243f5a92b41837 100644 (file)
@@ -336,7 +336,7 @@ config BACKLIGHT_PCF50633
          enable its driver.
 
 config BACKLIGHT_AAT2870
-       bool "AnalogicTech AAT2870 Backlight"
+       tristate "AnalogicTech AAT2870 Backlight"
        depends on BACKLIGHT_CLASS_DEVICE && MFD_AAT2870_CORE
        help
          If you have a AnalogicTech AAT2870 say Y to enable the