Match on compatible string "allwinner,sun4i-a10-sram-controller" instead of

"allwinner,sun4i-sramc", to match upstream DTS.
This commit is contained in:
Jared McNeill 2016-04-08 00:01:19 +00:00
parent d8e49c71e3
commit 43b227c89f

View File

@ -71,7 +71,7 @@ static int
a10_sramc_probe(device_t dev)
{
if (ofw_bus_is_compatible(dev, "allwinner,sun4i-sramc")) {
if (ofw_bus_is_compatible(dev, "allwinner,sun4i-a10-sram-controller")) {
device_set_desc(dev, "Allwinner sramc module");
return (BUS_PROBE_DEFAULT);
}