Skip to content

Commit f5e5f7d

Browse files
mniestrojdleach02
authored andcommitted
Revert "tests: drivers: build_all: add fake serial device for modem tests"
This reverts commit 9e58a1e. This change is in conflict with commit 94f7ed3 ("drivers: serial: add a dummy driver for vnd,serial"). As a result two equal serial devices are defines, resulting in link error. Signed-off-by: Marcin Niestroj <[email protected]>
1 parent 86a1252 commit f5e5f7d

File tree

1 file changed

+0
-8
lines changed
  • tests/drivers/build_all/modem/src

1 file changed

+0
-8
lines changed

tests/drivers/build_all/modem/src/main.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,3 @@ void main(void)
2727
DEVICE_DT_DEFINE(DT_INST(0, vnd_gpio), NULL, NULL, NULL, NULL,
2828
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL);
2929
#endif
30-
31-
#if DT_NODE_EXISTS(DT_INST(0, vnd_serial))
32-
/* Fake serial device, needed for building drivers that use DEVICE_DT_GET()
33-
* to access serial bus.
34-
*/
35-
DEVICE_DT_DEFINE(DT_INST(0, vnd_serial), NULL, NULL, NULL, NULL,
36-
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL);
37-
#endif

0 commit comments

Comments
 (0)