From: Antonino A. Daplas Date: Mon, 7 Nov 2005 09:00:46 +0000 (-0800) Subject: [PATCH] nvidiafb: Fix empty macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2fe0175491c4784d95f3237ebdc985da7b26a99d;p=linux-beck.git [PATCH] nvidiafb: Fix empty macro Use do {} while(0) for empty reverse_order() macro. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/nvidia/nv_local.h b/drivers/video/nvidia/nv_local.h index afee284fc73c..4243d7fae972 100644 --- a/drivers/video/nvidia/nv_local.h +++ b/drivers/video/nvidia/nv_local.h @@ -105,7 +105,7 @@ do { \ *a = byte_rev[*a]; \ } while(0) #else -#define reverse_order(l) +#define reverse_order(l) do { } while(0) #endif /* __LITTLE_ENDIAN */ #endif /* __NV_LOCAL_H__ */