rpmsg: char: add CONFIG_NET dependency
Without CONFIG_NET, we get a build failure for the new driver:
ERROR: "skb_queue_tail" [drivers/rpmsg/rpmsg_char.ko] undefined!
ERROR: "skb_put" [drivers/rpmsg/rpmsg_char.ko] undefined!
ERROR: "__alloc_skb" [drivers/rpmsg/rpmsg_char.ko] undefined!
ERROR: "kfree_skb" [drivers/rpmsg/rpmsg_char.ko] undefined!
ERROR: "skb_dequeue" [drivers/rpmsg/rpmsg_char.ko] undefined!
This adds a dependency so we don't try to build the broken configuration.
Fixes: c0cdc19f84
("rpmsg: Driver for user space endpoint interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
0be363bf4b
commit
b70ea16d2d
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ config RPMSG
|
||||||
config RPMSG_CHAR
|
config RPMSG_CHAR
|
||||||
tristate "RPMSG device interface"
|
tristate "RPMSG device interface"
|
||||||
depends on RPMSG
|
depends on RPMSG
|
||||||
|
depends on NET
|
||||||
help
|
help
|
||||||
Say Y here to export rpmsg endpoints as device files, usually found
|
Say Y here to export rpmsg endpoints as device files, usually found
|
||||||
in /dev. They make it possible for user-space programs to send and
|
in /dev. They make it possible for user-space programs to send and
|
||||||
|
|
Loading…
Add table
Reference in a new issue