mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 02:30:06 +01:00
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>
This commit is contained in:
parent
88355cedfc
commit
5e9457c41c
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue