]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit217362a759ee223211db8fefa9a880725f7c183e
treeebabdbe338cfef0d31fc3f5d77c23f264215eede
parentf7aa985e508b567abce69dc142f7e36bc7f4bf91
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