Skip to content

Commit 45fdffe

Browse files
Sathish Kuttannashif
authored andcommitted
tests: intel_s1000: use I2C device name directly
Since this is a test dedicated to Intel S1000 CRB, use the I2C0 device name directly instead of a Device Tree or Kconfig defined device name. Signed-off-by: Sathish Kuttan <[email protected]>
1 parent e28c1e7 commit 45fdffe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/boards/intel_s1000_crb/src/i2c_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017 Intel Corporation
2+
* Copyright (c) 2019 Intel Corporation
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -33,7 +33,7 @@
3333
#include <device.h>
3434
#include <i2c.h>
3535

36-
#define I2C_DEV CONFIG_I2C_0_NAME
36+
#define I2C_DEV "I2C_0"
3737
#define I2C_ADDR_LED_MAT0 0x65
3838
#define I2C_ADDR_LED_MAT1 0x69
3939
#define LED0 0x02

0 commit comments

Comments
 (0)