Commit 6938dd28 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: rti802: tidy up the register map defines

For aesthetics, add some whitespace to the register map defines and
convert the offsets to hex.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 052c198b
...@@ -35,9 +35,12 @@ Configuration Options: ...@@ -35,9 +35,12 @@ Configuration Options:
#include <linux/module.h> #include <linux/module.h>
#include "../comedidev.h" #include "../comedidev.h"
#define RTI802_SELECT 0 /*
#define RTI802_DATALOW 1 * Register I/O map
#define RTI802_DATAHIGH 2 */
#define RTI802_SELECT 0x00
#define RTI802_DATALOW 0x01
#define RTI802_DATAHIGH 0x02
struct rti802_private { struct rti802_private {
enum { enum {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment