Skip to content

Commit

Permalink
backlight: apple_bl depends on ACPI
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Matthew Garrett <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
rddunlap authored and torvalds committed Mar 23, 2011
1 parent 39b3dee commit b372412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/backlight/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ config BACKLIGHT_MAX8925

config BACKLIGHT_APPLE
tristate "Apple Backlight Driver"
depends on X86
depends on X86 && ACPI
help
If you have an Intel-based Apple say Y to enable a driver for its
backlight
backlight.

config BACKLIGHT_TOSA
tristate "Sharp SL-6000 Backlight Driver"
Expand Down

0 comments on commit b372412

Please sign in to comment.