diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2006-11-24 12:15:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 23:52:02 +0100 |
commit | e17e0f51aeea4e59c7e450a1c0f26605b91c1260 (patch) | |
tree | eb177cbfe18d433ab115222bfe53f1098de844c2 /include | |
parent | Documentation/driver-model/platform.txt update/rewrite (diff) | |
download | linux-e17e0f51aeea4e59c7e450a1c0f26605b91c1260.tar.xz linux-e17e0f51aeea4e59c7e450a1c0f26605b91c1260.zip |
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')
-rw-r--r-- | include/linux/module.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index d1d00ce8f4ed..9258ffd8a7f0 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; |