summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/int.h
diff options
context:
space:
mode:
authorQuentin Deslandes <quentin.deslandes@itdev.co.uk>2019-05-20 16:39:02 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-21 08:25:03 +0200
commit7156f7d9c38799ebb5d9d92e90207ff227ec4ade (patch)
tree555193f62ba092e31eb19034279b2f369ad8c3ad /drivers/staging/vt6656/int.h
parent59608cb1de185613b3a7b1615a9b08480f5a566a (diff)
staging: vt6656: avoid discarding called function's return code
Change some of the driver's functions in order to handle error codes instead of discarding them. These function now returns 0 on success and a negative errno value on error. Signed-off-by: Quentin Deslandes <quentin.deslandes@itdev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/int.h')
-rw-r--r--drivers/staging/vt6656/int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/int.h b/drivers/staging/vt6656/int.h
index 987c454e99e9..8a6d60569ceb 100644
--- a/drivers/staging/vt6656/int.h
+++ b/drivers/staging/vt6656/int.h
@@ -41,7 +41,7 @@ struct vnt_interrupt_data {
u8 sw[2];
} __packed;
-void vnt_int_start_interrupt(struct vnt_private *priv);
+int vnt_int_start_interrupt(struct vnt_private *priv);
void vnt_int_process_data(struct vnt_private *priv);
#endif /* __INT_H__ */