[2.6 patch] kernel/resource.c: __check_region(): remove pointless __deprecated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- linux-2.6.15-rc1-mm2-full/kernel/resource.c.old	2005-11-20 20:46:17.000000000 +0100
+++ linux-2.6.15-rc1-mm2-full/kernel/resource.c	2005-11-20 20:46:32.000000000 +0100
@@ -466,7 +466,7 @@
 
 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;
 

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux