]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/device.h
iwlwifi: correct math in elapsed_jiffies
[linux-2.6-omap-h63xx.git] / include / linux / device.h
index 1880208964d6c9a4a75d332927a0ef3e23b19191..db375be333c708a2e556c5424c95a0aa91802836 100644 (file)
@@ -84,6 +84,9 @@ int bus_for_each_dev(struct bus_type *bus, struct device *start, void *data,
 struct device *bus_find_device(struct bus_type *bus, struct device *start,
                               void *data,
                               int (*match)(struct device *dev, void *data));
+struct device *bus_find_device_by_name(struct bus_type *bus,
+                                      struct device *start,
+                                      const char *name);
 
 int __must_check bus_for_each_drv(struct bus_type *bus,
                                  struct device_driver *start, void *data,