summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-01-19 15:54:55 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2017-01-18 23:08:05 -0800
commitb70ea16d2d55db5d4b59d615d002046647e49a1e (patch)
tree6b83a1f53e7429b80a04fa8be8af236c9c2f469d /drivers/rpmsg
parent0be363bf4bf7addac30b84e2d6749e5a33296b6d (diff)
downloadlinux-b70ea16d2d55db5d4b59d615d002046647e49a1e.tar.gz
linux-b70ea16d2d55db5d4b59d615d002046647e49a1e.tar.bz2
linux-b70ea16d2d55db5d4b59d615d002046647e49a1e.zip
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: c0cdc19f84a4 ("rpmsg: Driver for user space endpoint interface") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r--drivers/rpmsg/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rpmsg/Kconfig b/drivers/rpmsg/Kconfig
index fa0d582efb3d..f12ac0b28263 100644
--- a/drivers/rpmsg/Kconfig
+++ b/drivers/rpmsg/Kconfig
@@ -7,6 +7,7 @@ config RPMSG
config RPMSG_CHAR
tristate "RPMSG device interface"
depends on RPMSG
+ depends on NET
help
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