aboutsummaryrefslogtreecommitdiff
path: root/src/ethosu_device.c
diff options
context:
space:
mode:
authorJonny Svärd <jonny.svaerd@arm.com>2024-05-21 18:47:56 +0200
committerJonny Svärd <jonny.svaerd@arm.com>2024-05-21 19:35:12 +0200
commit658be94e1dc33038e4e218e49f7acfa22b23354c (patch)
tree6c236c826cb684d25e108fb0539bb94791d3e9cb /src/ethosu_device.c
parent9622608a5cc318c0933bcce720b59737d03bfb6f (diff)
downloadethos-u-core-driver-main.tar.gz
Remove malloc call from device init codeHEADmain
As there is max one device per driver handle, store the device struct in the driver struct and get rid of the malloc call from the device init code. Change-Id: I0f98a78907cb322d98278e9adc314e3c05f54308 Signed-off-by: Jonny Svärd <jonny.svaerd@arm.com>
Diffstat (limited to 'src/ethosu_device.c')
0 files changed, 0 insertions, 0 deletions