diff options
-rw-r--r-- | drivers/base/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index 46ff6c25193..610d967632c 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c | |||
@@ -1513,6 +1513,8 @@ EXPORT_SYMBOL_GPL(device_destroy); | |||
1513 | * exclusion between two different calls of device_rename | 1513 | * exclusion between two different calls of device_rename |
1514 | * on the same device to ensure that new_name is valid and | 1514 | * on the same device to ensure that new_name is valid and |
1515 | * won't conflict with other devices. | 1515 | * won't conflict with other devices. |
1516 | * | ||
1517 | * "Never use this function, bad things will happen" - gregkh | ||
1516 | */ | 1518 | */ |
1517 | int device_rename(struct device *dev, const char *new_name) | 1519 | int device_rename(struct device *dev, const char *new_name) |
1518 | { | 1520 | { |