summaryrefslogtreecommitdiff
path: root/src/i830_lvds.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-02-27 22:55:44 -0800
committerEric Anholt <eric@anholt.net>2009-02-28 00:51:14 -0800
commit38a7683561cee7fffab174c2a166bfd51b51ba27 (patch)
tree1174c73388fbfbe67f4e8d211a695e88c36bf1fb /src/i830_lvds.c
parent5bfd73cd31ba197a62f549cdbad1a1270b571027 (diff)
warnings cleanup
Diffstat (limited to 'src/i830_lvds.c')
-rw-r--r--src/i830_lvds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c
index 63533cdc..7569e99d 100644
--- a/src/i830_lvds.c
+++ b/src/i830_lvds.c
@@ -1059,7 +1059,7 @@ static Atom panel_fitting_name_atoms[NUM_PANEL_FITTING_TYPES];
static int
-i830_backlight_control_lookup(char *name)
+i830_backlight_control_lookup(const char *name)
{
int i;
@@ -1116,7 +1116,7 @@ i830_lvds_set_backlight_control(xf86OutputPtr output)
}
static int
-i830_panel_fitting_lookup(char *name)
+i830_panel_fitting_lookup(const char *name)
{
int i;
@@ -1258,7 +1258,7 @@ i830_lvds_set_property(xf86OutputPtr output, Atom property,
} else if (property == backlight_control_atom) {
INT32 backlight_range[2];
Atom atom;
- char *name;
+ const char *name;
int ret, data;
if (value->type != XA_ATOM || value->format != 32 || value->size != 1)
@@ -1300,7 +1300,7 @@ i830_lvds_set_property(xf86OutputPtr output, Atom property,
return TRUE;
} else if (property == panel_fitting_atom) {
Atom atom;
- char *name;
+ const char *name;
int ret;
if (value->type != XA_ATOM || value->format != 32 || value->size != 1)