• Randy Dunlap's avatar
    backlight: apple_bl depends on ACPI · b372412e
    Randy Dunlap authored
    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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
    Acked-by: default avatarMatthew Garrett <mjg@redhat.com>
    Cc: Richard Purdie <rpurdie@rpsys.net>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    b372412e
Kconfig 9.16 KB