diff --git a/drivers/gpio/gpiolib-swnode.c b/drivers/gpio/gpiolib-swnode.c index 54bad9e88fe5..21478b45c127 100644 --- a/drivers/gpio/gpiolib-swnode.c +++ b/drivers/gpio/gpiolib-swnode.c @@ -138,7 +138,9 @@ int swnode_gpio_count(const struct fwnode_handle *fwnode, const char *con_id) * A special node that identifies undefined GPIOs, this is primarily used as * a key for internal chip selects in SPI bindings. */ -const struct software_node swnode_gpio_undefined = { }; +const struct software_node swnode_gpio_undefined = { + .name = "swnode-gpio-undefined", +}; EXPORT_SYMBOL_NS_GPL(swnode_gpio_undefined, "GPIO_SWNODE"); static int __init swnode_gpio_init(void)