]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/base/core.c
drivers/video/fbmem.c: simplify strlen()==0 check in fb_get_options()
[karo-tx-linux.git] / drivers / base / core.c
index f8e72724dd4b78c0d7048f552a5be29bb189956b..d1b2c9adc2718ebcf8979d19b0c065803020836e 100644 (file)
@@ -1599,7 +1599,7 @@ EXPORT_SYMBOL_GPL(device_destroy);
  * on the same device to ensure that new_name is valid and
  * won't conflict with other devices.
  */
-int device_rename(struct device *dev, char *new_name)
+int device_rename(struct device *dev, const char *new_name)
 {
        char *old_class_name = NULL;
        char *new_class_name = NULL;