From: Grant Likely Date: Thu, 22 Jul 2010 16:36:28 +0000 (-0600) Subject: of/device: Protect against binding of_platform_drivers to non-OF devices X-Git-Tag: v2.6.36-rc1~543^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1b6d380b781b5238989a4bfba02450057670804;p=pandora-kernel.git 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 --- Reading git-diff-tree failed