kernel-fxtec-pro1x/arch/powerpc/platforms/83xx
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
..
asp834x.c powerpc/83xx: Move gianfar mdio nodes under the ethernet nodes 2009-03-24 08:35:04 -05:00
Kconfig powerpc/mpc83xx: Support for MPC8308 P1M board 2010-10-14 00:52:53 -05:00
km83xx.c powerpc/83xx: rename and update kmeter1 2011-03-15 10:06:37 -05:00
Makefile powerpc/83xx: rename and update kmeter1 2011-03-15 10:06:37 -05:00
mcu_mpc8349emitx.c of: refactor of_modalias_node() and remove explicit match table. 2010-07-05 16:14:52 -06:00
misc.c [POWERPC] 83xx: Don't call ioremap in the reset function 2007-01-26 00:37:11 -06:00
mpc83xx.h powerpc/mpc8308: fix USB DR controller initialization 2011-01-12 18:00:29 -06:00
mpc830x_rdb.c powerpc/83xx: fix build failures on dt compatible list. 2011-01-19 09:16:09 -07:00
mpc831x_rdb.c powerpc/83xx: fix build failures on dt compatible list. 2011-01-19 09:16:09 -07:00
mpc832x_mds.c powerpc/83xx: Fix sparse warnings in board files 2008-12-30 11:13:41 -06:00
mpc832x_rdb.c powerpc: Fix build of some FSL platforms 2009-11-24 17:00:27 +11:00
mpc834x_itx.c powerpc/83xx: Move gianfar mdio nodes under the ethernet nodes 2009-03-24 08:35:04 -05:00
mpc834x_mds.c powerpc/83xx: Move gianfar mdio nodes under the ethernet nodes 2009-03-24 08:35:04 -05:00
mpc836x_mds.c powerpc/83xx: Add USB Host/Gadget support for MPC8360E-MDS boards 2008-12-30 11:13:46 -06:00
mpc836x_rdk.c powerpc/83xx: Fix few build errors with CONFIG_QUICC_ENGINE=n 2008-12-30 11:14:05 -06:00
mpc837x_mds.c arch/powerpc/platforms/83xx/mpc837x_mds.c: Add missing iounmap 2010-08-31 16:38:47 -05:00
mpc837x_rdb.c of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00
sbc834x.c powerpc/83xx: Move gianfar mdio nodes under the ethernet nodes 2009-03-24 08:35:04 -05:00
suspend-asm.S tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
suspend.c drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
usb.c powerpc/mpc8308: fix USB DR controller initialization 2011-01-12 18:00:29 -06:00