From: Andrew Morton Date: Tue, 29 Jun 2010 21:09:43 +0000 (-0700) Subject: drivers/video/via/via-gpio.c: fix warning X-Git-Tag: 2.1b_release~6428^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f27098379b1dbfedae99e5b86e10529f799d4071;p=platform%2Fkernel%2Fkernel-mfld-blackbay.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 595516a..39acb37 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]; }; /*