X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fgpio%2Fdevres.c;h=07ba82317eceb04493d9fa56e46cacfa98f1c59e;hb=7f9f44308c8993c9ab8078d174dad34bea3e82d7;hp=ec24da2418b31fe606a5af12dc9a9bb9e99697b3;hpb=331758eef83620eef3f21289f0f44aba094d0503;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/gpio/devres.c b/drivers/gpio/devres.c index ec24da2418b3..07ba82317ece 100644 --- a/drivers/gpio/devres.c +++ b/drivers/gpio/devres.c @@ -135,7 +135,7 @@ struct gpio_desc *devm_get_gpiod_from_child(struct device *dev, const char *con_id, 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 */ struct gpio_desc **dr; struct gpio_desc *desc;