]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: add the sysfs driver name to all modules
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Jan 2007 19:50:02 +0000 (11:50 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:12 +0000 (10:37 -0800)
commit20e17d6550f6729bac2265cf8577fed74e63119a
tree45ebe3c30f974ce2311781db428cd3ba4cb4364c
parent771b1dcd68ce8ac78cdfd1d895048f28dbe4741b
PCI: add the sysfs driver name to all modules

This adds the module name to all PCI drivers, if they are built into the
kernel or not.  It will show up in /sys/modules/MODULE_NAME/drivers/

It also fixes up the IDE core, which was calling __pci_register_driver()
directly.

Cc: Kay Sievers <kay.sievers@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ide/setup-pci.c
drivers/pci/pci-driver.c
include/linux/ide.h
include/linux/pci.h