Merge tag 'xtensa-next-20130225' of git://github.com/czankel/xtensa-linux
[cascardo/linux.git] / drivers / base / class.c
index 03243d4..3ce8454 100644 (file)
@@ -420,8 +420,8 @@ EXPORT_SYMBOL_GPL(class_for_each_device);
  * code.  There's no locking restriction.
  */
 struct device *class_find_device(struct class *class, struct device *start,
-                                void *data,
-                                int (*match)(struct device *, void *))
+                                const void *data,
+                                int (*match)(struct device *, const void *))
 {
        struct class_dev_iter iter;
        struct device *dev;