~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/linux/backlight.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        BACKLIGHT_UPDATE_SYSFS,
33
33
};
34
34
 
 
35
enum backlight_type {
 
36
        BACKLIGHT_RAW = 1,
 
37
        BACKLIGHT_PLATFORM,
 
38
        BACKLIGHT_FIRMWARE,
 
39
        BACKLIGHT_TYPE_MAX,
 
40
};
 
41
 
35
42
struct backlight_device;
36
43
struct fb_info;
37
44
 
62
69
        /* FB Blanking active? (values as for power) */
63
70
        /* Due to be removed, please use (state & BL_CORE_FBBLANK) */
64
71
        int fb_blank;
 
72
        /* Backlight type */
 
73
        enum backlight_type type;
65
74
        /* Flags used to signal drivers of state changes */
66
75
        /* Upper 4 bits are reserved for driver internal use */
67
76
        unsigned int state;