summaryrefslogtreecommitdiff
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2004-10-18 18:12:57 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-18 18:12:57 -0700
commit838eb75e8b4be018d932d37eaee8c84db7f2179e (patch)
tree4c1873423749edb2d18910bd07114142bc5d347f /include/linux/module.h
parente9fd319ea30c2e93a37f913fde1a578bc6dd03ed (diff)
[PATCH] mark inter_module_* deprecated
These had been officially deprecated since Rusty's module rewrite, but never got the __deprecated marker. The only remaining users are drm and mtd, so we'll get some warnings for common builds. But maybe that's the only way to get the drm people to fix the mess :) Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/module.h')
-rw-r--r--include/linux/module.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index 60946c3d7dc7..bebd8bc1fd20 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -558,10 +558,12 @@ struct obsolete_modparm __parm_##var __attribute__((section("__obsparm"))) = \
/* Use symbol_get and symbol_put instead. You'll thank me. */
#define HAVE_INTER_MODULE
-extern void inter_module_register(const char *, struct module *, const void *);
-extern void inter_module_unregister(const char *);
-extern const void *inter_module_get(const char *);
-extern const void *inter_module_get_request(const char *, const char *);
-extern void inter_module_put(const char *);
+extern void __deprecated inter_module_register(const char *,
+ struct module *, const void *);
+extern void __deprecated inter_module_unregister(const char *);
+extern const void * __deprecated inter_module_get(const char *);
+extern const void * __deprecated inter_module_get_request(const char *,
+ const char *);
+extern void __deprecated inter_module_put(const char *);
#endif /* _LINUX_MODULE_H */