drivers: i2c: enable logging for drivers loading i2c-priv.h
i2c-priv.h is currently doing some logging and is included in various i2c drivers, make sure the logger is enabled for those drivers. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
a3e7ca40f1
commit
44f0a79dbb
4 changed files with 12 additions and 0 deletions
|
@ -9,6 +9,10 @@
|
|||
#include <soc.h>
|
||||
#include <i2c_imx.h>
|
||||
#include <misc/util.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(i2c_imx);
|
||||
|
||||
#include "i2c-priv.h"
|
||||
|
||||
#define DEV_CFG(dev) \
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
#include <fsl_i2c.h>
|
||||
#include <fsl_clock.h>
|
||||
#include <misc/util.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(i2c_mcux);
|
||||
|
||||
#include "i2c-priv.h"
|
||||
|
||||
#define DEV_CFG(dev) \
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#include "clk.h"
|
||||
#include "soc.h"
|
||||
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(i2c_qmsi);
|
||||
#include "i2c-priv.h"
|
||||
|
||||
/* Convenient macros to get the controller instance and the driver data. */
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
#include "qm_ss_isr.h"
|
||||
#include "ss_clk.h"
|
||||
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(i2c_qmsi_ss);
|
||||
#include "i2c-priv.h"
|
||||
|
||||
/* Convenient macros to get the controller instance and the driver data. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue