staging/sm7xxfb: Make 'struct vgamode' static
Subsystems (2)
PATCH 1/1 staging/sm7xxfb: Make 'struct vgamode' static
sparse was complaining that symbol 'vgamode' was not declared.
Declaring vgamode as static.
Signed-off-by Peter Senna Tschudin <[email protected]>
---
Tested by compilation only
drivers/staging/sm7xxfb/sm7xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm7xxfb/sm7xx.h +1 -1
@@ -119,7 +119,7 @@ struct ModeInit {/********************************************************************** SM712 Mode table. **********************************************************************/ -struct ModeInit vgamode[] = { +static struct ModeInit vgamode[] = { {/* mode#0: 640 x 480 16Bpp 60Hz */ 640 ,480 ,16 ,60 ,
Signature · 1 line
2.1.0
Quoted 3 lines · Peter Senna Tschudin
sparse was complaining that symbol 'vgamode' was not declared.
Declaring vgamode as static.
a similar patch has already been sent to Greg, which is not yet applied.
regards
sudip
Quoted 6 lines
Signed-off-by Peter Senna Tschudin <[email protected]>---
Signature · 1 line
2.1.0
Greg KH
maintainerQuoted 10 lines · Peter Senna Tschudin
sparse was complaining that symbol 'vgamode' was not declared.
Declaring vgamode as static.
Signed-off-by Peter Senna Tschudin <[email protected]>---
Tested by compilation onlydrivers/staging/sm7xxfb/sm7xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
As was mentioned, someone sent this before you did, sorry.