summaryrefslogtreecommitdiff
path: root/lib/mbedtls/x509_cert_parser.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-02-17 00:18:04 +0100
committerLeo Yu-Chi Liang <ycliang@andestech.com>2024-09-10 10:10:43 +0800
commit5896ac5766fdafb0ba087c16261e3dff792dbe3e (patch)
treea64174dadfcffc47e58b1762027c42229a324b57 /lib/mbedtls/x509_cert_parser.c
parentf7fead89141e72558dd24bb7ac47aabb77fc4662 (diff)
clk: sifive: avoid declaring static variables in includes
The existing code is unnecessarily convoluted: Arrays __prci_init_clocks_fu[5|7]40 are initialized with data. In separate includes fu[5|7]40-prci.h the size of the arrays is provided as constants. By moving the structures prci_clk_fu[5|7]40 to the respective code modules we can directly use ARRAY_SIZE() to access the size of the data used for initialization. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'lib/mbedtls/x509_cert_parser.c')
0 files changed, 0 insertions, 0 deletions