dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/ide
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 <laurent.riffard@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
--

 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
cris
h8300
legacy [PATCH] ide: incorrect device link for ide-cs 2005-11-09 22:47:18 +01:00
mips
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
Kconfig [PATCH] ide: CS5535 driver 2005-11-09 23:58:16 +01:00
Makefile
ide-cd.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
ide-cd.h
ide-disk.c [PATCH] ide: kmalloc + memset -> kzalloc conversion 2005-11-07 07:54:00 -08:00
ide-dma.c
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
ide-io.c
ide-iops.c [PATCH] ide: possible cleanups 2005-11-09 23:07:56 +01:00
ide-lib.c
ide-pnp.c
ide-probe.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
ide-proc.c
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
ide.c [PATCH] ide: incorrect device link for ide-cs 2005-11-09 22:47:18 +01:00
setup-pci.c [PATCH] PCI: automatically set device_driver.owner 2005-11-10 16:09:16 -08:00