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>
|
||
|---|---|---|
| .. | ||
| acpica | ||
| canopennode | ||
| fatfs | ||
| hal_ethos_u | ||
| hal_gigadevice | ||
| hal_infineon | ||
| hal_nordic | ||
| hal_nxp | ||
| hal_rpi_pico | ||
| liblc3 | ||
| littlefs | ||
| loramac-node | ||
| lz4 | ||
| mbedtls | ||
| nanopb | ||
| openthread | ||
| segger | ||
| tflite-micro | ||
| thrift | ||
| TraceRecorder | ||
| trusted-firmware-a | ||
| trusted-firmware-m | ||
| uoscore-uedhoc | ||
| zcbor | ||
| Kconfig | ||
| Kconfig.altera | ||
| Kconfig.atmel | ||
| Kconfig.chre | ||
| Kconfig.cmsis | ||
| Kconfig.cmsis_dsp | ||
| Kconfig.cmsis_nn | ||
| Kconfig.cypress | ||
| Kconfig.eos_s3 | ||
| Kconfig.esp32 | ||
| Kconfig.imx | ||
| Kconfig.infineon | ||
| Kconfig.libmetal | ||
| Kconfig.lvgl | ||
| Kconfig.mcuboot | ||
| Kconfig.mcux | ||
| Kconfig.microchip | ||
| Kconfig.nuvoton | ||
| Kconfig.open-amp | ||
| Kconfig.picolibc | ||
| Kconfig.s32 | ||
| Kconfig.silabs | ||
| Kconfig.simplelink | ||
| Kconfig.sof | ||
| Kconfig.st | ||
| Kconfig.stm32 | ||
| Kconfig.sysbuild | ||
| Kconfig.syst | ||
| Kconfig.telink | ||
| Kconfig.tinycrypt | ||
| Kconfig.vega | ||
| Kconfig.wurthelektronik | ||
| Kconfig.xtensa | ||
| modules.cmake | ||