summaryrefslogtreecommitdiff
path: root/include/sbi_utils/gpio/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sbi_utils/gpio/gpio.h')
-rw-r--r--include/sbi_utils/gpio/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi_utils/gpio/gpio.h b/include/sbi_utils/gpio/gpio.h
index 7a3d8bb..7027fd1 100644
--- a/include/sbi_utils/gpio/gpio.h
+++ b/include/sbi_utils/gpio/gpio.h
@@ -40,7 +40,7 @@ struct gpio_pin {
/** Representation of a GPIO chip */
struct gpio_chip {
/** Pointer to GPIO driver owning this GPIO chip */
- void *driver;
+ const void *driver;
/** Uniquie ID of the GPIO chip assigned by the driver */
unsigned int id;
/** Number of GPIOs supported by the GPIO chip */