mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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:
committed by
Linus Walleij
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user