diff --git a/drivers/of/device.c b/drivers/of/device.c index b1e6bebda3f3a0ebee3b09085b6bb1a500f6249e..210432a3c4ecc739fb0cf0fdf443c9f77e683082 100644 --- a/drivers/of/device.c +++ b/drivers/of/device.c @@ -223,7 +223,7 @@ ssize_t of_device_get_modalias(struct device *dev, char *str, ssize_t len) str[i] = '_'; } - return tsize; + return repend; } EXPORT_SYMBOL_GPL(of_device_get_modalias);