1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297689

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);
}