diff options
| author | Oleksandr Tymoshenko <gonzo@FreeBSD.org> | 2018-04-09 22:06:16 +0000 |
|---|---|---|
| committer | Oleksandr Tymoshenko <gonzo@FreeBSD.org> | 2018-04-09 22:06:16 +0000 |
| commit | f7604b1b275455fc5506c3c83a4876f567bbc6b3 (patch) | |
| tree | 40a5b93b5f618e99153acf0d1ffd93ec763bce3d /sys/dev/extres/syscon | |
| parent | c7fb0e1ddf717f58e069fd2339b05370b41df3ce (diff) | |
Notes
Diffstat (limited to 'sys/dev/extres/syscon')
| -rw-r--r-- | sys/dev/extres/syscon/syscon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/extres/syscon/syscon.c b/sys/dev/extres/syscon/syscon.c index c728f8435c13..3d69efca0b13 100644 --- a/sys/dev/extres/syscon/syscon.c +++ b/sys/dev/extres/syscon/syscon.c @@ -236,7 +236,7 @@ syscon_get_by_ofw_property(device_t cdev, phandle_t cnode, char *name, "%s called on not ofw based device\n", __func__); return (ENXIO); } - ncells = OF_getencprop_alloc(cnode, name, sizeof(pcell_t), + ncells = OF_getencprop_alloc_multi(cnode, name, sizeof(pcell_t), (void **)&cells); if (ncells < 1) return (ENXIO); |
