Un-deprecate inter_module_*
PATCH 1/1 Un-deprecate inter_module_*
Andrew,
I am also sick of looking at "inter_module_foo is deprecated" warnings. They have been deprecated for 6-12 months and obviously no one is fixing it. I don't have the time or the inclination to fix it so here's a patch to un-deprecate inter_module_*.
Signed-off-by Lee Revell <[email protected]>
linux/module.h renamed from linux/module.h~ +4 -4
@@ -567,11 +567,11 @@/* Use symbol_get and symbol_put instead. You'll thank me. */ #define HAVE_INTER_MODULE -extern void __deprecated inter_module_register (const char *, +extern void inter_module_register (const char *,struct module *,const void *); -extern void __deprecated inter_module_unregister (const char *); -extern const void *__deprecated inter_module_get_request (const char *, +extern void inter_module_unregister (const char *); +extern const void *inter_module_get_request (const char *,const char *); -extern void __deprecated inter_module_put (const char *); +extern void inter_module_put (const char *);#endif /* _LINUX_MODULE_H */
Quoted 7 lines · Lee Revell
Andrew,
I am also sick of looking at "
inter_module_foois deprecated" warnings. They have been deprecated for 6-12 months and obviously no one is fixing it. I don't have the time or the inclination to fix it so here's a patch to un-deprecate inter_module_*.
...
In recent -mm kernels (and therefore most likely in 2.6.16) you'll see the warnings only when your kernel contains one of the "guilty" mtd modules.
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed