diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-07-22 18:36:28 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-07-24 17:57:53 +0200 |
commit | c1b6d380b781b5238989a4bfba02450057670804 (patch) | |
tree | 86f0acab0ce296b307150f25ab166191e5c3f6d1 /arch/sparc/include | |
parent | of: remove asm/of_device.h (diff) | |
download | linux-c1b6d380b781b5238989a4bfba02450057670804.tar.xz linux-c1b6d380b781b5238989a4bfba02450057670804.zip |
of/device: Protect against binding of_platform_drivers to non-OF devices
There is an unlikely chance of this situation is occurring, but it is
easy to protect against. If a matching entry cannot be found in the
of_match_table, then don't bind the driver.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/sparc/include')
0 files changed, 0 insertions, 0 deletions