Driver core: show drivers in /sys/module/
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 24 Nov 2006 11:15:25 +0000 (12:15 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:52:02 +0000 (14:52 -0800)
commite17e0f51aeea4e59c7e450a1c0f26605b91c1260
treeeb177cbfe18d433ab115222bfe53f1098de844c2
parentc957b32406b73ed66d0f20ebab0cab25c848105d
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>
include/linux/module.h
kernel/module.c