diff options
author | Juston Li <juston.h.li@gmail.com> | 2015-06-12 03:17:22 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-12 17:20:33 -0700 |
commit | 5ee35ea7759ae4a6e25f58ff19d8a60b48510aa5 (patch) | |
tree | 60df012fb316c53fa0d66d1f770c28681aee88d7 /drivers/staging/sm750fb/sm750.h | |
parent | c40753b5c7ee0d967d56393e760701ca3a924be3 (diff) | |
download | op-kernel-dev-5ee35ea7759ae4a6e25f58ff19d8a60b48510aa5.zip op-kernel-dev-5ee35ea7759ae4a6e25f58ff19d8a60b48510aa5.tar.gz |
staging: sm750fb: fix c99 comments
fixed all checkpatch.pl ERROR: do not use C99 // comments
Any C99 comments used to comment out code are simply removed.
Also some of the errors occur inside '#if 0' blocks which I
might as well fix since checkpatch.pl caught them but the blocks
themselves should probably be cleaned up later.
Changes since v1: close a comment block
Signed-off-by: Juston Li <juston.h.li@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/sm750.h')
-rw-r--r-- | drivers/staging/sm750fb/sm750.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index 30aa312..273882f 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -7,8 +7,6 @@ /* please use revision id to distinguish sm750le and sm750*/ #define SPC_SM750 0 -//#define SPC_SM750LE 8 - #define MB(x) ((x)<<20) #define MHZ(x) ((x) * 1000000) /* align should be 2,4,8,16 */ @@ -95,10 +93,10 @@ struct lynx_cursor{ }; struct lynxfb_crtc{ - unsigned char __iomem * vCursor;//virtual address of cursor - unsigned char __iomem * vScreen;//virtual address of on_screen - int oCursor;//cursor address offset in vidmem - int oScreen;//onscreen address offset in vidmem + unsigned char __iomem * vCursor; /* virtual address of cursor */ + unsigned char __iomem * vScreen; /* virtual address of on_screen */ + int oCursor; /* cursor address offset in vidmem */ + int oScreen; /* onscreen address offset in vidmem */ int channel;/* which channel this crtc stands for*/ resource_size_t vidmem_size;/* this view's video memory max size */ |