Re: [PATCH] New include file for marking old style api files

From: Adrian Bunk
Date: Thu Jul 28 2005 - 09:06:59 EST


On Thu, Jul 28, 2005 at 03:42:26PM +0200, Jiri Slaby wrote:
> Hi.
> Do you think, that this would be useful in the kernel tree?
> I have an idea to mark old drivers, which should I or somebody rewrite.
> For example drivers/isdn/hisax/gazel.c.
>...
> --- /dev/null
> +++ b/include/linux/oldapi.h
> @@ -0,0 +1,2 @@
> +#warning This driver uses old style API and needs to be rewritten or removed \
> + from kernel

What's wrong with __deprecated ?

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/