OSDN Git Service

staging: sm750fb: add space after return type
authorJuston Li <juston.h.li@gmail.com>
Wed, 15 Jul 2015 04:14:39 +0000 (21:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 05:52:52 +0000 (22:52 -0700)
Fixes checkpatch.pl warning:
WARNING: missing space after return type

Signed-off-by: Juston Li <juston.h.li@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.h

index 9989ff6..2d04c0f 100644 (file)
@@ -108,12 +108,12 @@ struct lynxfb_crtc {
 
        void *priv;
 
-       int(*proc_setMode)(struct lynxfb_crtc*,
+       int (*proc_setMode)(struct lynxfb_crtc*,
                                                struct fb_var_screeninfo*,
                                                struct fb_fix_screeninfo*);
 
-       int(*proc_checkMode)(struct lynxfb_crtc*, struct fb_var_screeninfo*);
-       int(*proc_setColReg)(struct lynxfb_crtc*, ushort, ushort, ushort, ushort);
+       int (*proc_checkMode)(struct lynxfb_crtc*, struct fb_var_screeninfo*);
+       int (*proc_setColReg)(struct lynxfb_crtc*, ushort, ushort, ushort, ushort);
        void (*clear)(struct lynxfb_crtc*);
        /* pan display */
        int (*proc_panDisplay)(struct lynxfb_crtc *,
@@ -140,12 +140,12 @@ struct lynxfb_output {
        */
        void *priv;
 
-       int(*proc_setMode)(struct lynxfb_output*,
+       int (*proc_setMode)(struct lynxfb_output*,
                                                struct fb_var_screeninfo*,
                                                struct fb_fix_screeninfo*);
 
-       int(*proc_checkMode)(struct lynxfb_output*, struct fb_var_screeninfo*);
-       int(*proc_setBLANK)(struct lynxfb_output*, int);
+       int (*proc_checkMode)(struct lynxfb_output*, struct fb_var_screeninfo*);
+       int (*proc_setBLANK)(struct lynxfb_output*, int);
        void  (*clear)(struct lynxfb_output*);
 };