diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-11-07 10:00:46 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 16:53:52 +0100 |
commit | 2fe0175491c4784d95f3237ebdc985da7b26a99d (patch) | |
tree | bc72a82797aee165be4b95492628bf1d6127e21a /drivers | |
parent | [PATCH] fbdev: Workaround for buggy EDID blocks (diff) | |
download | linux-2fe0175491c4784d95f3237ebdc985da7b26a99d.tar.xz linux-2fe0175491c4784d95f3237ebdc985da7b26a99d.zip |
[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')
-rw-r--r-- | drivers/video/nvidia/nv_local.h | 2 |
1 files changed, 1 insertions, 1 deletions
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__ */ |