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>
Showing
- arch/powerpc/kernel/ibmebus.c 4 additions, 1 deletionarch/powerpc/kernel/ibmebus.c
- drivers/macintosh/macio_asic.c 2 additions, 3 deletionsdrivers/macintosh/macio_asic.c
- drivers/of/platform.c 4 additions, 3 deletionsdrivers/of/platform.c
- include/linux/device.h 4 additions, 0 deletionsinclude/linux/device.h
Loading
Please register or sign in to comment