1
linux/drivers
David Brownell fc3ba9525b SPI driver hotplug/coldplug fixes
Update various SPI drivers so they properly support

  - coldplug through "modprobe $(cat /sys/devices/.../modalias)"

  - hotplug through "modprobe $(MODALIAS)"

The basic rule for platform, SPI, and (new style) I2C drivers is just
to make sure that modprobing the driver name works.  In this case, all
the relevant drivers are platform drivers, and this patch either

  (a)	Changes the driver name, if no in-tree code would break;
	this is simpler and thus preferable in the long term.

  (b)	Adds MODULE_ALIAS directives, when in-tree platforms declare
	devices using the current driver name; less desirable.

Most systems will link SPI controller drivers statically, but
there's no point in being needlessly broken.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Jean Delvare <khali@linux-fr.org>
Acked-by: Andrei Konovalov <akonovalov@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-08-31 01:42:22 -07:00
..
acorn/char
acpi ACPI: EC: Check if boot_ec was really found in DSDT 2007-08-30 22:20:13 -07:00
amba
ata Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev 2007-08-23 21:40:33 -07:00
atm Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
auxdisplay cfag12864b fix 2007-08-22 19:52:46 -07:00
base
block [SUNVDC]: Use slice 0xff on VD_DISK_TYPE_DISK. 2007-08-26 18:49:07 -07:00
bluetooth
cdrom
char [MIPS] Delete duplicate inclusion of <linux/delay.h>. 2007-08-27 02:16:59 +01:00
clocksource
connector
cpufreq
crypto Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
dio
dma [IOAT]: ioatdma needs to to play nice in a multi-dma-client world 2007-08-26 18:35:40 -07:00
edac
eisa
fc4
firewire firewire: Add ref-counting for sbp2 orbs (fix command abortion) 2007-08-25 18:00:27 +02:00
firmware
hid Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
hwmon
i2c
ide ide-disk: workaround for buggy HPA support on ST340823A (take 3) 2007-08-20 22:42:57 +02:00
ieee1394 ieee1394: sbp2: fix sbp2_remove_device for error cases 2007-08-25 18:00:26 +02:00
infiniband IB/mlx4: Incorrect semicolon after if statement 2007-08-15 20:24:06 -07:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2007-08-30 21:55:22 -07:00
isdn [ISDN]: Get rid of some pointless allocation casts in common and bsd comp. 2007-08-26 18:35:46 -07:00
kvm KVM: Avoid calling smp_call_function_single() with interrupts disabled 2007-08-19 10:13:49 -07:00
leds
lguest Fix lguest page-pinning logic ("lguest: bad stack page 0xc057a000") 2007-08-30 09:58:22 -07:00
macintosh [POWERPC] Fix undefined reference to device_power_up/resume 2007-08-25 16:58:27 +10:00
mca
md dm-mpath-rdac: don't stomp on a requests transfer bit 2007-08-27 16:15:44 -07:00
media Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb 2007-08-23 21:38:54 -07:00
message
mfd
misc Pull events into release branch 2007-08-25 01:44:01 -04:00
mmc sdhci: tell which spurious interrupt we got 2007-08-23 06:31:07 +02:00
mtd [ARM] 4554/1: replace consistent_sync() with flush_ioremap_region() 2007-08-23 12:31:31 +01:00
net [BNX2]: Add write posting comment. 2007-08-28 15:39:42 -07:00
nubus
of
oprofile
parisc
parport
pci Pull events into release branch 2007-08-25 01:44:01 -04:00
pcmcia
pnp PNP: remove null pointer checks 2007-08-24 01:27:24 -04:00
power
ps3
rapidio
rtc [PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware 2007-08-27 02:16:58 +01:00
s390 [S390] vmur: fix reference counting for vmur device structure 2007-08-22 13:51:48 +02:00
sbus
scsi Introduce CONFIG_CHECK_SIGNATURE 2007-08-22 19:52:45 -07:00
serial [SERIAL]: Fix 32-bit warnings in sunzilog.c and sunsu.c 2007-08-26 18:49:11 -07:00
sh
sn
spi SPI driver hotplug/coldplug fixes 2007-08-31 01:42:22 -07:00
tc
telephony
uio
usb usb: add PRODUCT, TYPE to usb-interface events 2007-08-22 14:28:02 -07:00
video Fix font dependency for SGI Newport console driver 2007-08-31 01:42:22 -07:00
w1 w1: fix w1_remove_master_device() searching 2007-08-22 19:52:46 -07:00
xen
zorro zorro: Make sysfs config attribute read-only 2007-08-22 19:52:45 -07:00
Kconfig
Makefile