gpio: make gpiochip label const
Changes
1 files changed · +1 −1
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| include/asm-generic/gpio.h | modified | +1 | −1 | View file |
include/asm-generic/gpio.h
View filediff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index 0f99ad3..2c5744b 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -61,7 +61,7 @@ struct module;
* is calculated by subtracting @base from the gpio number.
*/
struct gpio_chip {
- char *label;
+ const char *label;
struct device *dev;
struct module *owner;