summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2004-07-08 02:46:47 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2004-07-08 02:46:47 -0700
commit2e4d27c4f4e427c4d08fa458f6b6f66b5afd7797 (patch)
treec725d9d55c969065e4a0b255b5878cf365b775c4 /include
parent4e12ac0f127911a024dbd15671a9073c23a0b312 (diff)
[PATCH] Driver core: add driver_find helper to find a driver by its name
Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 5e7f4219a8b8..49d3865aa27b 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -120,6 +120,7 @@ extern void driver_unregister(struct device_driver * drv);
extern struct device_driver * get_driver(struct device_driver * drv);
extern void put_driver(struct device_driver * drv);
+extern struct device_driver *driver_find(const char *name, struct bus_type *bus);
/* driverfs interface for exporting driver attributes */