patch-2.4.21 linux-2.4.21/drivers/video/controlfb.c

Next file: linux-2.4.21/drivers/video/dnfb.c
Previous file: linux-2.4.21/drivers/video/clgenfb.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/video/controlfb.c linux-2.4.21/drivers/video/controlfb.c
@@ -132,7 +132,7 @@
 };
 
 /* control register access macro */
-#define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs-> ## REG).r))
+#define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs->REG).r))
 
 
 /******************** Prototypes for exported functions ********************/

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)