Revert "tests: drivers: build_all: add fake serial device for modem tests"
This reverts commit9e58a1e475
. This change is in conflict with commit94f7ed356f
("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 <m.niestroj@emb.dev>
This commit is contained in:
parent
86a1252556
commit
f5e5f7d6cd
1 changed files with 0 additions and 8 deletions
|
@ -27,11 +27,3 @@ void main(void)
|
|||
DEVICE_DT_DEFINE(DT_INST(0, vnd_gpio), NULL, NULL, NULL, NULL,
|
||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL);
|
||||
#endif
|
||||
|
||||
#if DT_NODE_EXISTS(DT_INST(0, vnd_serial))
|
||||
/* Fake serial device, needed for building drivers that use DEVICE_DT_GET()
|
||||
* to access serial bus.
|
||||
*/
|
||||
DEVICE_DT_DEFINE(DT_INST(0, vnd_serial), NULL, NULL, NULL, NULL,
|
||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue