summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb/sm750.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-10 21:29:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-10 21:29:38 +0100
commitbf2fbc2a12b42a1d3fd38b1da24cd4250df4f3ab (patch)
tree1fcbeaa4c3f32cb714750576e84bc901fc0dd918 /drivers/staging/sm750fb/sm750.h
parent3009de604831e6dd908c39c05fd063bd668edb0e (diff)
downloadop-kernel-dev-bf2fbc2a12b42a1d3fd38b1da24cd4250df4f3ab.zip
op-kernel-dev-bf2fbc2a12b42a1d3fd38b1da24cd4250df4f3ab.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h
index efe999a..0847d2b 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 */
OpenPOWER on IntegriCloud