summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2005-11-07 09:00:46 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 15:53:52 (GMT)
commit2fe0175491c4784d95f3237ebdc985da7b26a99d (patch)
treebc72a82797aee165be4b95492628bf1d6127e21a /drivers/video
parent475666d4f80f148a091fa20257fe2381223d3c62 (diff)
downloadlinux-2fe0175491c4784d95f3237ebdc985da7b26a99d.tar.xz
[PATCH] nvidiafb: Fix empty macro
Use do {} while(0) for empty reverse_order() macro. Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/nvidia/nv_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/nvidia/nv_local.h b/drivers/video/nvidia/nv_local.h
index afee284..4243d7f 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__ */