summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-05-05 11:10:07 -0700
committerAdam Jackson <ajax@redhat.com>2015-09-23 15:18:24 -0400
commit5e9457c41c05b65da7e39bd8944ec761479f19dd (patch)
treea92d118532246a4c9db7f32eae5194f92896c695 /hw
parent88355cedfc9b3940b9fe1599fbf6e0272c57f8a9 (diff)
fbdevhw: Fix a const qualifier warning
We're passing string literals to these functions. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/fbdevhw/fbdevhw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/fbdevhw/fbdevhw.c b/hw/xfree86/fbdevhw/fbdevhw.c
index eb458fb4d..b50ae5ed2 100644
--- a/hw/xfree86/fbdevhw/fbdevhw.c
+++ b/hw/xfree86/fbdevhw/fbdevhw.c
@@ -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,