drivers/video/via/via-gpio.c: fix warning
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 29 Jun 2010 21:09:43 +0000 (14:09 -0700)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 5 Aug 2010 22:36:27 +0000 (22:36 +0000)
drivers/video/via/via-gpio.c: In function 'viafb_gpio_probe':
drivers/video/via/via-gpio.c:216: warning: assignment from incompatible pointer type

Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Scott Fang <ScottFang@viatech.com.cn>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/via/via-gpio.c

index 595516aea6917dc5f19d5e725e139b07c7f00512..39acb37e7a1d2bd333003679b9b322e4a6feb291 100644 (file)
@@ -73,7 +73,7 @@ struct viafb_gpio_cfg {
        struct gpio_chip gpio_chip;
        struct viafb_dev *vdev;
        struct viafb_gpio *active_gpios[VIAFB_NUM_GPIOS];
-       char *gpio_names[VIAFB_NUM_GPIOS];
+       const char *gpio_names[VIAFB_NUM_GPIOS];
 };
 
 /*