diff options
author | Jesse Barnes <jbarnes@hobbes.virtuousgeek.org> | 2007-12-04 18:27:24 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.virtuousgeek.org> | 2007-12-04 18:27:24 -0800 |
commit | 4c1fa5235555c9ef3de1eebd006c4e91283362bf (patch) | |
tree | 64c5a51df9204724a64dce7281b4f5a4bb8322af /src/i830.h | |
parent | 30d74f1b1f30e751d2c47aa63a4a2043e71467dc (diff) |
Add BCM_ to backlight control method enums
Avoids polluting the global namespace with such generic terms.
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -321,29 +321,29 @@ enum last_3d { * so they can choose an ideal one for their platform (assuming our quirk * code picks the wrong one). * - * Four different methods are available: - * NATIVE: only ever touch the native backlight control registers + * Four different backlight control methods are available: + * BCM_NATIVE: only ever touch the native backlight control registers * This method may be susceptible to problem (2) above if the firmware * modifies the legacy registers. - * LEGACY: only ever touch the legacy backlight control registers + * BCM_LEGACY: only ever touch the legacy backlight control registers * This method may be susceptible to problem (1) above if the firmware * also modifies the legacy registers. - * COMBO: try to use both sets + * BCM_COMBO: try to use both sets * In this case, the driver will try to modify both sets of registers * if needed. To avoid problem (2) above it may set the LBB register * to a non-zero value if the brightness is to be increased. It's still * susceptible to problem (1), but to a lesser extent than the LEGACY only * method. - * KERNEL: use kernel methods for controlling the backlight + * BCM_KERNEL: use kernel methods for controlling the backlight * This is only available on some platforms, but where present this can * provide the best user experience. */ enum backlight_control { - NATIVE = 0, - LEGACY, - COMBO, - KERNEL, + BCM_NATIVE = 0, + BCM_LEGACY, + BCM_COMBO, + BCM_KERNEL, }; typedef struct _I830Rec { |