zephyr/modules/mbedtls
Marcin Niestroj 630555d9f6 mbedtls: fix _mbedtls_init() invocation
SYS_INIT() requires pointer to function that takes `void` now, instead of
pointer to device structure. Since the commit was developed before that
switch, it still invoked it with NULL. Fix that now.

Fixes:

  zephyr/modules/mbedtls/zephyr_init.c: In function 'mbedtls_init':
  zephyr/modules/mbedtls/zephyr_init.c:108:16: error: too many arguments \
                                              to function '_mbedtls_init'
    108 |         return _mbedtls_init(NULL);
        |                ^~~~~~~~~~~~~
  zephyr/modules/mbedtls/zephyr_init.c:86:12: note: declared here
     86 | static int _mbedtls_init(void)
        |

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2023-07-06 07:10:23 -04:00
..
configs Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
include mbedtls: add CONFIG_MBEDTLS_INIT 2023-07-06 11:45:08 +02:00
CMakeLists.txt Bluetooth: Mesh: refactor mesh to use both tinycrypt and psa based crypto 2023-06-17 07:46:03 -04:00
debug.c modules: mbedtls: support stripping newline from debug log messages 2022-08-17 12:03:52 +02:00
Kconfig mbedtls: add CONFIG_MBEDTLS_INIT 2023-07-06 11:45:08 +02:00
Kconfig.tls-generic modules: mbedtls: Allow for enabling LMS algorithms 2023-02-23 10:51:31 +01:00
shell.c modules: migrate includes to <zephyr/...> 2022-05-06 19:57:47 +02:00
zephyr_init.c mbedtls: fix _mbedtls_init() invocation 2023-07-06 07:10:23 -04:00