[Openchrome-devel] xf86-video-openchrome: src/via_lvds.c

James Simmons jsimmons at kemper.freedesktop.org
Tue Jan 13 12:43:39 PST 2015


 src/via_lvds.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit bcdd1e7ef9df5dc72b9dbb2977b39e65a45f8697
Author: James Simmons <jsimmons at infradead.org>
Date:   Tue Jan 13 13:43:03 2015 -0700

    Last of the gcc warnings.
    
    Signed-off-by: James Simmons <jsimmons at infradead.org>

diff --git a/src/via_lvds.c b/src/via_lvds.c
index 0dcc64a..4f17484 100644
--- a/src/via_lvds.c
+++ b/src/via_lvds.c
@@ -1468,7 +1468,8 @@ static const xf86OutputFuncsRec via_lvds_funcs = {
  * using name with format "9999x9999".
  */
 static void
-ViaPanelGetNativeModeFromOption(ScrnInfoPtr pScrn, ViaPanelInfoPtr panel, char *name)
+ViaPanelGetNativeModeFromOption(ScrnInfoPtr pScrn, ViaPanelInfoPtr panel,
+								const char *name)
 {
     char aux[strlen(name) + 1];
     CARD8 length, index;
@@ -1500,7 +1501,7 @@ via_lvds_init(ScrnInfoPtr pScrn)
     VIAPtr pVia = VIAPTR(pScrn);
     xf86OutputPtr output = NULL;
     Bool ForcePanel = FALSE;
-    char *s = NULL;
+    const char *s = NULL;
 
     if (!Panel)
         return;


More information about the Openchrome-devel mailing list