summaryrefslogtreecommitdiffstats
path: root/arch/score/include
diff options
context:
space:
mode:
authorSeth Forshee <seth.forshee@canonical.com>2012-04-19 11:23:50 -0500
committerMatthew Garrett <mjg@redhat.com>2012-05-31 14:26:04 -0400
commit62cce7526629e164513d3c67a06845953910f818 (patch)
treeaedddfe36ac78f94466192a02e47502d65c974b6 /arch/score/include
parent20a769c1c6671d3b8d18a7358eff15e3dd29e94b (diff)
downloadtalos-obmc-linux-62cce7526629e164513d3c67a06845953910f818.tar.gz
talos-obmc-linux-62cce7526629e164513d3c67a06845953910f818.zip
toshiba_acpi: Only register backlight device when interface is read/write
Currently the backlight device is registered unconditionally, but many (probably most) Toshibas either don't support HCI_LCD_BRIGHTNESS or only support reading from it. This patch adds a test of HCI_LCD_BRIGHTNESS during initialization and only registers the backlight device if this interface supports both reads and writes. Cc: Akio Idehara <zbe64533@gmail.com> Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'arch/score/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud