version 1.23.2.1, 2020/12/14 14:38:09 |
version 1.23.2.2, 2021/04/03 22:28:50 |
Line 304 static const struct bwfm_sdio_product { |
|
Line 304 static const struct bwfm_sdio_product { |
|
}, |
}, |
}; |
}; |
|
|
static const char * const compatible[] = { |
static const struct device_compatible_entry compat_data[] = { |
"brcm,bcm4329-fmac", |
{ .compat = "brcm,bcm4329-fmac" }, |
NULL |
DEVICE_COMPAT_EOL |
}; |
}; |
|
|
static int |
static int |
Line 583 bwfm_fdt_find_phandle(device_t self, dev |
|
Line 583 bwfm_fdt_find_phandle(device_t self, dev |
|
phandle = OF_child(OF_finddevice(str)); |
phandle = OF_child(OF_finddevice(str)); |
} |
} |
|
|
if (!of_match_compatible(phandle, compatible)) |
if (!of_compatible_match(phandle, compat_data)) |
return -1; |
return -1; |
|
|
return phandle; |
return phandle; |