diff --git a/kernel-open/common/inc/nv-linux.h b/kernel-open/common/inc/nv-linux.h index 7733e808d2..29e57ebf48 100644 --- a/kernel-open/common/inc/nv-linux.h +++ b/kernel-open/common/inc/nv-linux.h @@ -1724,7 +1724,7 @@ typedef enum #else #include -static inline int __to_hwgpio(const struct gpio_device *gdev, +static inline int __to_hwgpio(struct gpio_device *gdev, const struct of_phandle_args *gpiospec) { #if defined(CONFIG_OF_GPIO)