diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-10 21:29:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-10 21:29:38 +0100 |
commit | bf2fbc2a12b42a1d3fd38b1da24cd4250df4f3ab (patch) | |
tree | 1fcbeaa4c3f32cb714750576e84bc901fc0dd918 /drivers/staging/sm750fb/sm750.h | |
parent | 3009de604831e6dd908c39c05fd063bd668edb0e (diff) |
Staging: sm750fb: fix build warning with lynx_accel
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
Diffstat (limited to 'drivers/staging/sm750fb/sm750.h')
-rw-r--r-- | drivers/staging/sm750fb/sm750.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index efe999acbe46..0847d2bd95c8 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -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 */ |