Staging: sm750fb: fix build warning with lynx_accel
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Mar 2015 20:29:38 +0000 (21:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Mar 2015 20:29:38 +0000 (21:29 +0100)
Change the return value of lynx_accel to be void, to fix the build
warning, and due to the fact that the function can't seem to fail at
all, and no one cares if it does or not.

Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Teddy Wang <teddy.wang@siliconmotion.com>
Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
drivers/staging/sm750fb/sm750.h

index efe999acbe4644013b1f4816672022ed0ca39ecb..0847d2bd95c8a334f4dc071c47096a836d66c6f0 100644 (file)
@@ -23,7 +23,7 @@ struct lynx_accel{
        volatile unsigned char __iomem * dpPortBase;
 
        /* function fointers */
-       int (*de_init)(struct lynx_accel *);
+       void (*de_init)(struct lynx_accel *);
 
        int (*de_wait)(void);/* see if hardware ready to work */