Skip to contentSkip to conversation

nvidiafb: Fix empty macro

PATCH In review Antonino A. Daplas 1 participant 1 message Oct 18, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 11/17 nvidiafb: Fix empty macro

Use do {} while(0) for empty reverse_order() macro.

---
 nv_local.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/video/nvidia/nv_local.h +1 -1
@@ -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__ */

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl