9p: fix bad kconfig cross-dependency

This patch moves transport dynamic registration and matching to the net
module to prevent a bad Kconfig dependency between the net and fs 9p modules.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
This commit is contained in:
Eric Van Hensbergen
2007-10-17 14:31:07 -05:00
committed by Eric Van Hensbergen
parent 50fd801067
commit fb0466c3ae
5 changed files with 67 additions and 46 deletions

View File

@ -50,5 +50,7 @@ struct p9_trans_module {
};
void v9fs_register_trans(struct p9_trans_module *m);
struct p9_trans_module *v9fs_match_trans(const substring_t *name);
struct p9_trans_module *v9fs_default_trans(void);
#endif /* NET_9P_TRANSPORT_H */