* [PATCH] Un-deprecate inter_module_*
@ 2005-12-22 0:14 Lee Revell
2005-12-22 0:25 ` Adrian Bunk
0 siblings, 1 reply; 2+ messages in thread
From: Lee Revell @ 2005-12-22 0:14 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
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 <rlrevell@joe-job.com>
--- include/linux/module.h~ 2005-12-16 14:45:27.000000000 -0500
+++ include/linux/module.h 2005-12-21 19:10:16.000000000 -0500
@@ -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 */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Un-deprecate inter_module_*
2005-12-22 0:14 [PATCH] Un-deprecate inter_module_* Lee Revell
@ 2005-12-22 0:25 ` Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-12-22 0:25 UTC (permalink / raw)
To: Lee Revell; +Cc: Andrew Morton, linux-kernel
On Wed, Dec 21, 2005 at 07:14:30PM -0500, Lee Revell wrote:
> 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_*.
>...
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
--
"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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-22 0:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-22 0:14 [PATCH] Un-deprecate inter_module_* Lee Revell
2005-12-22 0:25 ` Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox