Skip to content

Commit acfd958

Browse files
Finomniskartben
authored andcommitted
drivers: fpga: ice40: Fix log level
All FPGA driver implementations should respect `CONFIG_FPGA_LOG_LEVEL`. Signed-off-by: Martin Stumpf <[email protected]>
1 parent 3fe4bcb commit acfd958

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/fpga/fpga_ice40_bitbang.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* direct register access to the set and clear registers.
3939
*/
4040

41-
LOG_MODULE_DECLARE(fpga_ice40);
41+
LOG_MODULE_DECLARE(fpga_ice40, CONFIG_FPGA_LOG_LEVEL);
4242

4343
struct fpga_ice40_config_bitbang {
4444
struct gpio_dt_spec clk;

drivers/fpga/fpga_ice40_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include "fpga_ice40_common.h"
1212

13-
LOG_MODULE_REGISTER(fpga_ice40);
13+
LOG_MODULE_REGISTER(fpga_ice40, CONFIG_FPGA_LOG_LEVEL);
1414

1515
void fpga_ice40_crc_to_str(uint32_t crc, char *s)
1616
{

drivers/fpga/fpga_ice40_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#include "fpga_ice40_common.h"
1717

18-
LOG_MODULE_DECLARE(fpga_ice40);
18+
LOG_MODULE_DECLARE(fpga_ice40, CONFIG_FPGA_LOG_LEVEL);
1919

2020
static int fpga_ice40_load(const struct device *dev, uint32_t *image_ptr, uint32_t img_size)
2121
{

0 commit comments

Comments
 (0)