summaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-01-15 20:22:02 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-07 10:37:12 -0800
commitf30c53a873d0d227493197064b8886af2d57bbd6 (patch)
treecd051f14effbbb015a1bae6fe5bfabcf14037f13 /include/linux/device.h
parentc744aeae9d173a953b771a7ad5c872f91fa99dec (diff)
downloadop-kernel-dev-f30c53a873d0d227493197064b8886af2d57bbd6.zip
op-kernel-dev-f30c53a873d0d227493197064b8886af2d57bbd6.tar.gz
MODULES: add the module name for built in kernel drivers
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/device.h')
-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 f44247f..da722191 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -126,6 +126,7 @@ struct device_driver {
struct klist_node knode_bus;
struct module * owner;
+ const char * mod_name; /* used for built-in modules */
int (*probe) (struct device * dev);
int (*remove) (struct device * dev);
OpenPOWER on IntegriCloud