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

Jiri Slaby
2005-07-28T13:45:18Z

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

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.

--
Jiri Slaby www.fi.muni.cz/~xslaby
~\-/~ jirislaby@gmail.com ~\-/~
241B347EC88228DE51EE A49C4A73A25004CB2A10

[-- Attachment #2: lnx-oldapi-6.13r3m3.txt --]
[-- Type: text/plain, Size: 235 bytes --]

diff --git a/include/linux/oldapi.h b/include/linux/oldapi.h
new file mode 100644
--- /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