Laurent riffard
863b18f4b5
[PATCH] PCI: automatically set device_driver.owner
...
A nice feature of sysfs is that it can create the symlink from the
driver to the module that is contained in it.
It requires that the device_driver.owner is set, what is not the
case for many PCI drivers.
This patch allows pci_register_driver to set automatically the
device_driver.owner for any PCI driver.
Credits to Al Viro who suggested the method.
Signed-off-by: Laurent Riffard <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
--
drivers/ide/setup-pci.c | 12 +++++++-----
drivers/pci/pci-driver.c | 9 +++++----
include/linux/ide.h | 3 ++-
include/linux/pci.h | 10 ++++++++--
4 files changed, 22 insertions(+), 12 deletions(-)
2005-11-10 16:09:16 -08:00
..
arm
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
cris
[PATCH] CRIS IDE driver
2005-07-27 16:26:02 -07:00
h8300
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
legacy
[PATCH] ide: incorrect device link for ide-cs
2005-11-09 22:47:18 +01:00
mips
Cleaned up AMD Au1200 IDE driver:
2005-10-29 19:32:20 +01:00
pci
[PATCH] siimage: enable interrupts on Adaptec SA-1210 card
2005-11-10 00:19:14 +01:00
ppc
[PATCH] ppc: Fix PowerBook HD led on ARCH=powerpc
2005-11-08 11:19:51 +11:00
ide-cd.c
[PATCH] kfree cleanup: misc remaining drivers
2005-11-07 07:54:05 -08:00
ide-cd.h
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
ide-disk.c
[PATCH] ide: kmalloc + memset -> kzalloc conversion
2005-11-07 07:54:00 -08:00
ide-dma.c
[PATCH] ide: samsung SN-124 works perfectly well with DMA
2005-06-27 17:36:40 -07:00
ide-floppy.c
[PATCH] ide-floppy: software eject not working with LS-120 drive
2005-11-10 00:25:15 +01:00
ide-generic.c
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
ide-io.c
[PATCH] ide: Workaround PM problem
2005-10-10 08:40:47 -07:00
ide-iops.c
[PATCH] ide: possible cleanups
2005-11-09 23:07:56 +01:00
ide-lib.c
[PATCH] ide: fix line break in ide messages
2005-07-03 17:09:13 +02:00
ide-pnp.c
Linux-2.6.12-rc2
2005-04-16 15:20:36 -07:00
ide-probe.c
[PATCH] kfree cleanup: misc remaining drivers
2005-11-07 07:54:05 -08:00
ide-proc.c
Cleaned up AMD Au1200 IDE driver:
2005-10-29 19:32:20 +01:00
ide-tape.c
[PATCH] ide: kmalloc + memset -> kzalloc conversion
2005-11-07 07:54:00 -08:00
ide-taskfile.c
[PATCH] ide: possible cleanups
2005-11-09 23:07:56 +01:00
ide-timing.h
[PATCH] janitor: ide: min/max macros in ide-timing.h
2005-09-10 10:06:31 -07:00
ide.c
[PATCH] ide: incorrect device link for ide-cs
2005-11-09 22:47:18 +01:00
Kconfig
[PATCH] ide: CS5535 driver
2005-11-09 23:58:16 +01:00
Makefile
[PATCH] drivers/ide/Makefile: kill dead CONFIG_BLK_DEV_IDE_TCQ entry
2005-07-03 17:44:10 +02:00
setup-pci.c
[PATCH] PCI: automatically set device_driver.owner
2005-11-10 16:09:16 -08:00