]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit725522b5453dd680412f2b6463a988e4fd148757
tree45ebe3c30f974ce2311781db428cd3ba4cb4364c
parentfe480a2675ed236af396597d9f05245c7bbd0149
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