From: Andrew Morton Date: Tue, 29 Jun 2010 21:09:43 +0000 (-0700) Subject: drivers/video/via/via-gpio.c: fix warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f27098379b1dbfedae99e5b86e10529f799d4071;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git drivers/video/via/via-gpio.c: fix warning 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 Cc: Scott Fang Cc: Jonathan Corbet Signed-off-by: Andrew Morton Signed-off-by: Florian Tobias Schandinat --- diff --git a/drivers/video/via/via-gpio.c b/drivers/video/via/via-gpio.c index 595516aea69..39acb37e7a1 100644 --- a/drivers/video/via/via-gpio.c +++ b/drivers/video/via/via-gpio.c @@ -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]; }; /*