]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/base/class.c
Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / drivers / base / class.c
index 03243d4002fd5e995dd198447e98a9d2343fd89d..3ce8454713275a2bc7ab15a808e0c66dcfbece83 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;