commit | 55901d15b6f816af5bff9efd55b6400121dbc04a | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Mon Jul 28 13:09:33 2014 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 30 16:48:42 2014 -0700 |
tree | 7098b3d6a3fc50f101fb0ba07f183280ba2bd708 | |
parent | 7f526aad196da471040a30bec4c788518e450fa2 [diff] |
staging: comedi: amplc_pc236: add callback to check and clear interrupt Add an optional callback function pointer to the board data to be called when checking if an interrupt has occurred and to clear it if it has. Since the callback returns `bool`, change a few other `int` values to `bool` to match. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>