mirror of https://gitee.com/openkylin/linux.git
gpiolib: constify label in gpio_device
This string is never modified. Make it const. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
c4b54e138a
commit
3b469b0a13
|
@ -58,7 +58,7 @@ struct gpio_device {
|
|||
struct gpio_desc *descs;
|
||||
int base;
|
||||
u16 ngpio;
|
||||
char *label;
|
||||
const char *label;
|
||||
void *data;
|
||||
struct list_head list;
|
||||
|
||||
|
|
Loading…
Reference in New Issue