[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>
This commit is contained in:
Antonino A. Daplas 2005-11-07 01:00:46 -08:00 committed by Linus Torvalds
parent 475666d4f8
commit 2fe0175491

View file

@ -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__ */