diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-03-22 19:30:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-22 20:44:00 -0400 |
commit | b372412e159897c20ce2ad100f51c5d94ae98845 (patch) | |
tree | e939eac4cb8b3e58f86ecc9591189ac617a344ac /drivers | |
parent | 39b3dee76fa1f1ac8310ea5898ba7c07280bdd9f (diff) |
backlight: apple_bl depends on ACPI
apple_bl uses ACPI interfaces (data & code), so it should depend on ACPI.
drivers/video/backlight/apple_bl.c:142: warning: 'struct acpi_device' declared inside parameter list
drivers/video/backlight/apple_bl.c:142: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/video/backlight/apple_bl.c:201: warning: 'struct acpi_device' declared inside parameter list
drivers/video/backlight/apple_bl.c:215: error: variable 'apple_bl_driver' has initializer but incomplete type
drivers/video/backlight/apple_bl.c:216: error: unknown field 'name' specified in initializer
...
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Matthew Garrett <mjg@redhat.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/backlight/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index 39fff49da19d..0c9373bedd1f 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig | |||
@@ -246,10 +246,10 @@ config BACKLIGHT_MAX8925 | |||
246 | 246 | ||
247 | config BACKLIGHT_APPLE | 247 | config BACKLIGHT_APPLE |
248 | tristate "Apple Backlight Driver" | 248 | tristate "Apple Backlight Driver" |
249 | depends on X86 | 249 | depends on X86 && ACPI |
250 | help | 250 | help |
251 | If you have an Intel-based Apple say Y to enable a driver for its | 251 | If you have an Intel-based Apple say Y to enable a driver for its |
252 | backlight | 252 | backlight. |
253 | 253 | ||
254 | config BACKLIGHT_TOSA | 254 | config BACKLIGHT_TOSA |
255 | tristate "Sharp SL-6000 Backlight Driver" | 255 | tristate "Sharp SL-6000 Backlight Driver" |