diff options
author | Jonny Svärd <jonny.svaerd@arm.com> | 2021-09-07 11:59:08 +0200 |
---|---|---|
committer | Jonny Svärd <jonny.svaerd@arm.com> | 2021-09-07 11:59:08 +0200 |
commit | a0e4d31c5531b55a638d1efa0a43e1f296a2f2d9 (patch) | |
tree | 6ea5606efda9dd5810a15420febce0b8069be8dd | |
parent | 431d70c73fb0aa6ff3cade3337f01337dc8ce49e (diff) | |
download | ethos-u-core-driver-a0e4d31c5531b55a638d1efa0a43e1f296a2f2d9.tar.gz |
Remove unnecessary use of designated initializer
Change-Id: I16de9223e59e46ad9fb25bd280a175cd50af913d
-rw-r--r-- | src/ethosu_device_u55.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ethosu_device_u55.c b/src/ethosu_device_u55.c index 0930948..87add7e 100644 --- a/src/ethosu_device_u55.c +++ b/src/ethosu_device_u55.c @@ -66,7 +66,7 @@ enum ethosu_error_codes ethosu_dev_get_id(struct ethosu_device *dev, struct etho enum ethosu_error_codes ethosu_dev_get_config(struct ethosu_device *dev, struct ethosu_config *config) { - struct config_r cfg = {.word = 0}; + struct config_r cfg = {0}; cfg.word = ethosu_dev_read_reg(dev, NPU_REG_CONFIG); |