summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2006-11-24 12:15:25 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-01 14:52:02 -0800
commite17e0f51aeea4e59c7e450a1c0f26605b91c1260 (patch)
treeeb177cbfe18d433ab115222bfe53f1098de844c2 /include/linux
parentc957b32406b73ed66d0f20ebab0cab25c848105d (diff)
Driver core: show drivers in /sys/module/
Show the drivers, which belong to the module: $ ls -l /sys/module/usbcore/drivers/ hub -> ../../../bus/usb/drivers/hub usb -> ../../../bus/usb/drivers/usb usbfs -> ../../../bus/usb/drivers/usbfs Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index d1d00ce8f4e..9258ffd8a7f 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -264,6 +264,7 @@ struct module
struct module_attribute *modinfo_attrs;
const char *version;
const char *srcversion;
+ struct kobject *drivers_dir;
/* Exported symbols */
const struct kernel_symbol *syms;