From 2e4d27c4f4e427c4d08fa458f6b6f66b5afd7797 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Thu, 8 Jul 2004 02:46:47 -0700 Subject: [PATCH] Driver core: add driver_find helper to find a driver by its name Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- include/linux/device.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') 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 */ -- cgit v1.2.3