From f361ce9049e115e479fd0fb79a76e1ace1365b2f Mon Sep 17 00:00:00 2001 From: Philip J Perry Date: Sat, 18 Jan 2014 23:20:25 +0000 Subject: [PATCH] make define release_region conditional release_region is defined on RHEL6 although request_muxed_region isn't so generates a warning: warning: "release_region" redefined Making it conditional eliminates the warning. Signed-off-by: Guenter Roeck --- compat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compat.h b/compat.h index 49642d2..a697a62 100644 --- a/compat.h +++ b/compat.h @@ -208,6 +208,8 @@ module_exit(__driver##_exit); #ifndef request_muxed_region #define request_muxed_region(a, b, c) (true) +#endif +#ifndef release_region #define release_region(a, b) #endif -- 2.39.5