net: qrtr: combine nameservice into main module
authorLuca Weiss <luca@z3ntu.xyz>
Tue, 28 Sep 2021 17:11:57 +0000 (19:11 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 Sep 2021 00:36:43 +0000 (17:36 -0700)
commita365023a76f231cc2fc6e33797e66f3bcaa9f9a9
tree9b1c79ddd0473b03aec72642e399f2f16806d3ba
parent3d5f12d4ff7879bc134232e25ef44cc82b83a41a
net: qrtr: combine nameservice into main module

Previously with CONFIG_QRTR=m a separate ns.ko would be built which
wasn't done on purpose and should be included in qrtr.ko.

Rename qrtr.c to af_qrtr.c so we can build a qrtr.ko with both af_qrtr.c
and ns.c.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-By: Steev Klimaszewski <steev@kali.org>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://lore.kernel.org/r/20210928171156.6353-1-luca@z3ntu.xyz
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/qrtr/Makefile
net/qrtr/af_qrtr.c [new file with mode: 0644]
net/qrtr/qrtr.c [deleted file]