summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2018-12-25 08:34:30 -0600
committerKevin Brace <kevinbrace@gmx.com>2018-12-25 08:34:30 -0600
commitb32b125e91ceb40964c006aec135a79294611b59 (patch)
tree5e0ba14a6f7cf3e49feeae771b676dc4a15726c7
parent1069d52aa49e5e32e3371399bc97b9b7e4873df7 (diff)
Use const char for xf86GetOptValString return type
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
-rw-r--r--src/alp_driver.c2
-rw-r--r--src/lg_driver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/alp_driver.c b/src/alp_driver.c
index 60c5edd..c846909 100644
--- a/src/alp_driver.c
+++ b/src/alp_driver.c
@@ -456,7 +456,7 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags)
int i;
int depth_flags;
ClockRangePtr clockRanges;
- char *s;
+ const char *s;
xf86Int10InfoPtr pInt = NULL;
if (flags & PROBE_DETECT) {
diff --git a/src/lg_driver.c b/src/lg_driver.c
index c3fe142..eaba5f3 100644
--- a/src/lg_driver.c
+++ b/src/lg_driver.c
@@ -319,7 +319,7 @@ LgPreInit(ScrnInfoPtr pScrn, int flags)
int i;
ClockRangePtr clockRanges;
int fbPCIReg, ioPCIReg;
- char *s;
+ const char *s;
if (flags & PROBE_DETECT) {
cirProbeDDC( pScrn, xf86GetEntityInfo(pScrn->entityList[0])->index );