Commit 5e9457c4 authored by Eric Anholt's avatar Eric Anholt Committed by Adam Jackson

fbdevhw: Fix a const qualifier warning

We're passing string literals to these functions.
Reviewed-by: default avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 88355ced
......@@ -122,7 +122,7 @@ fbdevHWGetFD(ScrnInfoPtr pScrn)
#if DEBUG
static void
print_fbdev_mode(char *txt, struct fb_var_screeninfo *var)
print_fbdev_mode(const char *txt, struct fb_var_screeninfo *var)
{
ErrorF("fbdev %s mode:\t%d %d %d %d %d %d %d %d %d %d %d:%d:%d\n",
txt, var->pixclock,
......@@ -133,7 +133,7 @@ print_fbdev_mode(char *txt, struct fb_var_screeninfo *var)
}
static void
print_xfree_mode(char *txt, DisplayModePtr mode)
print_xfree_mode(const char *txt, DisplayModePtr mode)
{
ErrorF("xfree %s mode:\t%d %d %d %d %d %d %d %d %d\n",
txt, mode->Clock,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment