Xfbdev: Make char *fbdevDevicePath const

This fixes:

hw/kdrive/fbdev/fbdev.c: In function 'fbdevInitialize':
hw/kdrive/fbdev/fbdev.c:41:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Geert Uytterhoeven 2013-02-22 13:21:28 +01:00
parent b08afbc53c
commit 5c509c360d
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
extern int KdTsPhyScreen;
char *fbdevDevicePath = NULL;
const char *fbdevDevicePath = NULL;
static Bool
fbdevInitialize(KdCardInfo * card, FbdevPriv * priv)

View File

@ -49,7 +49,7 @@ typedef struct _fbdevScrPriv {
} FbdevScrPriv;
extern KdCardFuncs fbdevFuncs;
extern char *fbdevDevicePath;
extern const char *fbdevDevicePath;
Bool
fbdevCardInit(KdCardInfo * card);