[PATCH] kernel/resource.c: __check_region(): remove pointless __deprecated
authorAdrian Bunk <bunk@stusta.de>
Tue, 10 Jan 2006 04:54:49 +0000 (20:54 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:02:02 +0000 (08:02 -0800)
If a __deprecated is desired it should go to the prototype in the header
(where it currently isn't).

But at this place it's pointless.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/resource.c

index 92285d822de6c9ce3a75825b7b876b8379d522d6..e3080fcc66a3b1237e30326782eed2a8fd184323 100644 (file)
@@ -464,7 +464,7 @@ struct resource * __request_region(struct resource *parent, unsigned long start,
 
 EXPORT_SYMBOL(__request_region);
 
-int __deprecated __check_region(struct resource *parent, unsigned long start, unsigned long n)
+int __check_region(struct resource *parent, unsigned long start, unsigned long n)
 {
        struct resource * res;