android_kernel_xiaomi_sm8350/drivers
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
..
acorn
acpi [PATCH] pciehp: clean-up how we request control of hotplug hardware 2005-11-10 16:09:15 -08:00
atm [ATM]: [horizon] fix sparse warnings 2005-11-10 12:55:52 -08:00
base
block [PATCH] add a file_permission helper 2005-11-09 07:55:59 -08:00
bluetooth [Bluetooth]: Add endian annotations to the core 2005-11-08 09:57:21 -08:00
cdrom
char Fix AGP compile on non-x86 architectures 2005-11-09 14:56:00 -08:00
connector
cpufreq [PATCH] cpu hotplug: fix locking in cpufreq drivers 2005-11-09 07:55:50 -08:00
crypto
dio
eisa
fc4
firmware [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
hwmon [PATCH] hwmon: Fix two w83627hf bugs 2005-11-07 21:46:37 -08:00
i2c [PATCH] i2c-viapro: Some adjustments 2005-11-07 21:46:38 -08:00
ide [PATCH] PCI: automatically set device_driver.owner 2005-11-10 16:09:16 -08:00
ieee1394
infiniband Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2005-11-10 13:27:06 -08:00
input [PATCH] Input: fix 'uniq' reporting in hotplug handler 2005-11-09 07:55:50 -08:00
isdn [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
macintosh
mca
md [PATCH] md: document sysfs usage of md, and make a couple of small refinements 2005-11-09 07:56:40 -08:00
media [PATCH] V4L: 926: Saa7134 alsa can only be autoloaded after saa7134 is active 2005-11-09 07:56:32 -08:00
message [PATCH] drivers/message/fusion/mptbase.c: make code static 2005-11-09 07:56:41 -08:00
mfd
misc [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
mmc
mtd [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
net [BNX2]: simplify parameter checks in bnx2_{get,set}_eeprom 2005-11-10 12:58:24 -08:00
nubus
oprofile
parisc
parport
pci [PATCH] PCI: automatically set device_driver.owner 2005-11-10 16:09:16 -08:00
pcmcia [PCMCIA] i82365: release all resources if no devices are found 2005-11-10 11:42:16 +01:00
pnp
rapidio
s390 [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
sbus [SPARC] sbus rtc: implement ->compat_ioctl 2005-11-09 12:07:18 -08:00
scsi [PATCH] ide: ide-scsi fails to call idescsi_check_condition for things like "Medium not present" 2005-11-09 23:18:22 +01:00
serial
sh
sn
tc
telephony [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
usb [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
video [ARM] 3096/1: Add SharpSL Zaurus power and battery management core driver 2005-11-10 17:42:29 +00:00
w1
zorro
Kconfig
Makefile