]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/base/core.c
dev_printk(): constify the `dev' argument
[linux-2.6-omap-h63xx.git] / drivers / base / core.c
index 068aa1c9538c99d54a47603e25f69544f084f537..44bad73d819202b4c29c48aa393c0bb46826373e 100644 (file)
@@ -53,7 +53,7 @@ static inline int device_is_not_partition(struct device *dev)
  * it is attached to.  If it is not attached to a bus either, an empty
  * string will be returned.
  */
-const char *dev_driver_string(struct device *dev)
+const char *dev_driver_string(const struct device *dev)
 {
        return dev->driver ? dev->driver->name :
                        (dev->bus ? dev->bus->name :