kernel-fxtec-pro1x/drivers/mtd/maps
Grant Likely b1608d69cb drivercore: revert addition of of_match to struct device
Commit b826291c, "drivercore/dt: add a match table pointer to struct
device" added an of_match pointer to struct device to cache the
of_match_table entry discovered at driver match time.  This was unsafe
because matching is not an atomic operation with probing a driver.  If
two or more drivers are attempted to be matched to a driver at the
same time, then the cached matching entry pointer could get
overwritten.

This patch reverts the of_match cache pointer and reworks all users to
call of_match_device() directly instead.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-05-18 12:32:23 -06:00
..
amd76xrom.c mtd: amd76xrom: fix oops at boot when resources are not available 2011-03-11 14:19:09 +00:00
autcpu12-nvram.c
bcm963xx-flash.c mtd: bcm963xx-flash: try JEDEC probe if CFI fails 2010-12-03 16:25:16 +00:00
bfin-async-flash.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2010-05-10 14:32:46 +01:00
cdb89712.c
ceiva.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cfi_flagadm.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ck804xrom.c mtd: maps: Use printf extension %pR for struct resource 2010-12-03 16:29:54 +00:00
dbox2-flash.c
dc21285.c Nicolas Pitre has a new email address 2009-09-15 09:37:12 -07:00
dilnetpc.c
dmv182.c
edb7312.c
esb2rom.c mtd: maps: Use printf extension %pR for struct resource 2010-12-03 16:29:54 +00:00
fortunet.c
gpio-addr-flash.c mtd: maps: gpio-addr-flash: fix warnings and make more portable 2010-10-25 01:16:17 +01:00
h720x-flash.c
ichxrom.c mtd: maps: Use printf extension %pR for struct resource 2010-12-03 16:29:54 +00:00
impa7.c
integrator-flash.c mtd: drop CONFIG_MTD_CONCAT ifdefs 2011-03-11 14:22:40 +00:00
intel_vr_nor.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ixp4xx.c mtd: ixp4xx: add support for static flash partitions 2010-08-04 10:57:00 +01:00
ixp2000.c drivers/mtd: Use kzalloc 2010-05-13 21:23:06 +01:00
Kconfig mtd: NOR flash driver for OMAP-L137/AM17x 2011-03-11 14:22:47 +00:00
l440gx.c
latch-addr-flash.c mtd: NOR flash driver for OMAP-L137/AM17x 2011-03-11 14:22:47 +00:00
Makefile mtd: NOR flash driver for OMAP-L137/AM17x 2011-03-11 14:22:47 +00:00
map_funcs.c
mbx860.c
netsc520.c
nettel.c [MTD] [MAPS] Fix printk format warning in nettel.c 2009-01-09 14:17:50 +00:00
octagon-5066.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pci.c
pcmciamtd.c Fix common misspellings 2011-03-31 11:26:23 -03:00
physmap.c mtd: drop CONFIG_MTD_CONCAT ifdefs 2011-03-11 14:22:40 +00:00
physmap_of.c drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
pismo.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
plat-ram.c Fix spelling of 'platform' in comments and doc 2010-02-05 12:22:34 +01:00
pmcmsp-flash.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pxa2xx-flash.c ARM: pxa: fix pxa2xx-flash section mismatch 2010-11-30 20:14:04 +08:00
rbtx4939-flash.c [MTD] Remove mtd->{suspend,resume} calls from board drivers 2009-05-26 16:45:44 +01:00
rpxlite.c
sa1100-flash.c mtd: drop CONFIG_MTD_CONCAT ifdefs 2011-03-11 14:22:40 +00:00
sbc_gxx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
sc520cdp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
scb2_flash.c
scx200_docflash.c mtd: maps: Use printf extension %pR for struct resource 2010-12-03 16:29:54 +00:00
solutionengine.c
sun_uflash.c dt: Eliminate of_platform_{,un}register_driver 2011-02-28 13:22:46 -07:00
tqm8xxl.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ts5500_flash.c mtd: ts5500_flash: avoid calling map_destroy on NULL 2011-03-11 14:22:44 +00:00
tsunami_flash.c
uclinux.c mtd/maps: uclinux: fix building when partition support is disabled 2009-09-19 11:44:51 -07:00
vmax301.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vmu-flash.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wr_sbc82xx_flash.c