drivercore/dt: add a match table pointer to struct device
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 17 Feb 2011 09:37:15 +0000 (02:37 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 28 Feb 2011 08:36:38 +0000 (01:36 -0700)
commitb826291c14c396e7aa5d84523aafac117f430902
treeebabdbe338cfef0d31fc3f5d77c23f264215eede
parent3d6b88282751a3329d7b041a8d18db87641db9e8
drivercore/dt: add a match table pointer to struct device

Add a new .of_match field to struct device which points at the
matching device driver .of_match_table entry when a device is probed
via the device tree

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/device.h
include/linux/of_device.h