diff options
| author | Stuart Yoder <[email protected]> | 2010-07-23 13:42:44 -0500 |
|---|---|---|
| committer | Grant Likely <[email protected]> | 2010-07-24 16:51:51 -0600 |
| commit | 883c2cfc8bcc0fd00c5d9f596fb8870f481b5bda (patch) | |
| tree | 0023085edc82b242265944865e57a0b31e303980 /arch/m32r/include/asm/m32r_mp_fpga.h | |
| parent | c0dd394ca5e78649b7013c3ce2d6338af9f228f0 (diff) | |
of/flattree: fix of_flat_dt_is_compatible() to match the full compatible string
With the current string comparison, a device tree compatible of "foo-bar"
would match as compatible with a driver looking for "foo". This patch
fixes the function to use the of_compat_cmp() macro so that it does the
right thing on all platforms (If sparc ever uses this code, it will still
want the strncasecmp() behaviour).
Signed-off-by: Stuart Yoder <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'arch/m32r/include/asm/m32r_mp_fpga.h')
0 files changed, 0 insertions, 0 deletions