This patch replaces the C99-style comments (//) with /* */. Signed-off-by: Daniel Lockyer <thisisdaniellockyer@xxxxxxxxx> --- drivers/staging/sm750fb/ddk750_dvi.c | 9 +++------ drivers/staging/sm750fb/ddk750_help.c | 4 ++-- drivers/staging/sm750fb/sm750_cursor.c | 5 +++-- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c index 65dd9f9..0c36110 100644 --- a/drivers/staging/sm750fb/ddk750_dvi.c +++ b/drivers/staging/sm750fb/ddk750_dvi.c @@ -50,7 +50,7 @@ int dviInit( deskewEnable, deskewSetting, continuousSyncEnable, pllFilterEnable, pllFilterValue); } - return -1;//error + return -1; /* error */ } @@ -65,7 +65,7 @@ unsigned short dviGetVendorID(void) { dvi_ctrl_device_t *pCurrentDviCtrl; - //pCurrentDviCtrl = getDviCtrl(); + /* pCurrentDviCtrl = getDviCtrl(); */ pCurrentDviCtrl = g_dcftSupportedDviController; if (pCurrentDviCtrl != (dvi_ctrl_device_t *)0) return pCurrentDviCtrl->pfnGetVendorId(); @@ -73,7 +73,6 @@ unsigned short dviGetVendorID(void) return 0x0000; } - /* * dviGetDeviceID * This function gets the device ID of the DVI controller chip. @@ -85,7 +84,7 @@ unsigned short dviGetDeviceID(void) { dvi_ctrl_device_t *pCurrentDviCtrl; -// pCurrentDviCtrl = getDviCtrl(); + /* pCurrentDviCtrl = getDviCtrl(); */ pCurrentDviCtrl = g_dcftSupportedDviController; if (pCurrentDviCtrl != (dvi_ctrl_device_t *)0) return pCurrentDviCtrl->pfnGetDeviceId(); @@ -94,5 +93,3 @@ unsigned short dviGetDeviceID(void) } #endif - - diff --git a/drivers/staging/sm750fb/ddk750_help.c b/drivers/staging/sm750fb/ddk750_help.c index 3fa7236..6df722d 100644 --- a/drivers/staging/sm750fb/ddk750_help.c +++ b/drivers/staging/sm750fb/ddk750_help.c @@ -1,5 +1,5 @@ -//#include "ddk750_reg.h" -//#include "ddk750_chip.h" +/* #include "ddk750_reg.h" */ +/* #include "ddk750_chip.h" */ #include "ddk750_help.h" void __iomem *mmio750 = NULL; diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index c7d1cb9..66ae2f87 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -139,9 +139,10 @@ void hw_cursor_setData(struct lynx_cursor *cursor, for (j = 0; j < 8; j++) { if (opr & (0x80 >> j)) { + /* use fg color,id = 2 */ data |= 2 << (j*2); } else { - //use bg color,id = 1 + /* use bg color,id = 1 */ data |= 1 << (j*2); } } @@ -213,8 +214,8 @@ void hw_cursor_setData2(struct lynx_cursor *cursor, if (opr & (0x80 >> j)) { /* use fg color,id = 2 */ data |= 2 << (j*2); - //use bg color,id = 1 } else { + /* use bg color,id = 1 */ data |= 1 << (j*2); } } -- 2.4.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel