9p/trans_fd: split into dedicated module

This allows these transports only to be used when needed.

Link: https://lkml.kernel.org/r/20211103193823.111007-3-linux@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
[Dominique: Kconfig NET_9P_FD: -depends VIRTIO, +default NET_9P]
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
This commit is contained in:
Thomas Weißschuh
2021-11-03 20:38:21 +01:00
committed by Dominique Martinet
parent 90d6cf349c
commit 1c582c6dc4
5 changed files with 23 additions and 7 deletions

View File

@@ -177,7 +177,6 @@ static int __init init_p9(void)
p9_error_init();
pr_info("Installing 9P2000 support\n");
p9_trans_fd_init();
return ret;
}
@@ -191,7 +190,6 @@ static void __exit exit_p9(void)
{
pr_info("Unloading 9P2000 support\n");
p9_trans_fd_exit();
p9_client_exit();
}