drivercore: Add of_match_table to the common device drivers
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 13 Apr 2010 23:13:01 +0000 (16:13 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 22 May 2010 06:10:40 +0000 (00:10 -0600)
commit597b9d1e44e9ba69f2454a5318bbe7a6d5e6930a
tree373f1f1387143b0ea8811ca6e2a6812f0a86d933
parent173b3a7a059a6998a6c0733710818c473cc0de4c
drivercore: Add of_match_table to the common device drivers

OF-style matching can be available to any device, on any type of bus.
This patch allows any driver to provide an OF match table when CONFIG_OF
is enabled so that drivers can be bound against devices described in
the device tree.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/kernel/ibmebus.c
drivers/macintosh/macio_asic.c
drivers/of/platform.c
include/linux/device.h