@@ -228,7 +228,7 @@ static const struct mcux_lpi2c_config mcux_lpi2c_config_0 = {
228
228
229
229
static struct mcux_lpi2c_data mcux_lpi2c_data_0 ;
230
230
231
- DEVICE_AND_API_INIT (mcux_lpi2c_0 , CONFIG_I2C_0_NAME , & mcux_lpi2c_init ,
231
+ DEVICE_AND_API_INIT (mcux_lpi2c_0 , DT_I2C_0_NAME , & mcux_lpi2c_init ,
232
232
& mcux_lpi2c_data_0 , & mcux_lpi2c_config_0 ,
233
233
POST_KERNEL , CONFIG_KERNEL_INIT_PRIORITY_DEVICE ,
234
234
& mcux_lpi2c_driver_api );
@@ -256,7 +256,7 @@ static const struct mcux_lpi2c_config mcux_lpi2c_config_1 = {
256
256
257
257
static struct mcux_lpi2c_data mcux_lpi2c_data_1 ;
258
258
259
- DEVICE_AND_API_INIT (mcux_lpi2c_1 , CONFIG_I2C_1_NAME , & mcux_lpi2c_init ,
259
+ DEVICE_AND_API_INIT (mcux_lpi2c_1 , DT_I2C_1_NAME , & mcux_lpi2c_init ,
260
260
& mcux_lpi2c_data_1 , & mcux_lpi2c_config_1 ,
261
261
POST_KERNEL , CONFIG_KERNEL_INIT_PRIORITY_DEVICE ,
262
262
& mcux_lpi2c_driver_api );
@@ -284,7 +284,7 @@ static const struct mcux_lpi2c_config mcux_lpi2c_config_2 = {
284
284
285
285
static struct mcux_lpi2c_data mcux_lpi2c_data_2 ;
286
286
287
- DEVICE_AND_API_INIT (mcux_lpi2c_2 , CONFIG_I2C_2_NAME , & mcux_lpi2c_init ,
287
+ DEVICE_AND_API_INIT (mcux_lpi2c_2 , DT_I2C_2_NAME , & mcux_lpi2c_init ,
288
288
& mcux_lpi2c_data_2 , & mcux_lpi2c_config_2 ,
289
289
POST_KERNEL , CONFIG_KERNEL_INIT_PRIORITY_DEVICE ,
290
290
& mcux_lpi2c_driver_api );
@@ -312,7 +312,7 @@ static const struct mcux_lpi2c_config mcux_lpi2c_config_3 = {
312
312
313
313
static struct mcux_lpi2c_data mcux_lpi2c_data_3 ;
314
314
315
- DEVICE_AND_API_INIT (mcux_lpi2c_3 , CONFIG_I2C_3_NAME , & mcux_lpi2c_init ,
315
+ DEVICE_AND_API_INIT (mcux_lpi2c_3 , DT_I2C_3_NAME , & mcux_lpi2c_init ,
316
316
& mcux_lpi2c_data_3 , & mcux_lpi2c_config_3 ,
317
317
POST_KERNEL , CONFIG_KERNEL_INIT_PRIORITY_DEVICE ,
318
318
& mcux_lpi2c_driver_api );
@@ -340,7 +340,7 @@ static const struct mcux_lpi2c_config mcux_lpi2c_config_4 = {
340
340
341
341
static struct mcux_lpi2c_data mcux_lpi2c_data_4 ;
342
342
343
- DEVICE_AND_API_INIT (mcux_lpi2c_4 , CONFIG_I2C_4_NAME , & mcux_lpi2c_init ,
343
+ DEVICE_AND_API_INIT (mcux_lpi2c_4 , DT_I2C_4_NAME , & mcux_lpi2c_init ,
344
344
& mcux_lpi2c_data_4 , & mcux_lpi2c_config_4 ,
345
345
POST_KERNEL , CONFIG_KERNEL_INIT_PRIORITY_DEVICE ,
346
346
& mcux_lpi2c_driver_api );
0 commit comments