|
@@ -135,7 +135,7 @@ struct gpio_desc *devm_get_gpiod_from_child(struct device *dev,
|
|
const char *con_id,
|
|
const char *con_id,
|
|
struct fwnode_handle *child)
|
|
struct fwnode_handle *child)
|
|
{
|
|
{
|
|
- static const char const *suffixes[] = { "gpios", "gpio" };
|
|
|
|
|
|
+ static const char * const suffixes[] = { "gpios", "gpio" };
|
|
char prop_name[32]; /* 32 is max size of property name */
|
|
char prop_name[32]; /* 32 is max size of property name */
|
|
struct gpio_desc **dr;
|
|
struct gpio_desc **dr;
|
|
struct gpio_desc *desc;
|
|
struct gpio_desc *desc;
|