summaryrefslogtreecommitdiffstats
path: root/drivers/block/rsxx/rsxx.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/rsxx/rsxx.h')
-rw-r--r--drivers/block/rsxx/rsxx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/rsxx/rsxx.h b/drivers/block/rsxx/rsxx.h
index 9581e136a042..2e50b65902b7 100644
--- a/drivers/block/rsxx/rsxx.h
+++ b/drivers/block/rsxx/rsxx.h
@@ -35,6 +35,8 @@ struct rsxx_reg_access {
__u32 data[8];
};
+#define RSXX_MAX_REG_CNT (8 * (sizeof(__u32)))
+
#define RSXX_IOC_MAGIC 'r'
#define RSXX_GETREG _IOWR(RSXX_IOC_MAGIC, 0x20, struct rsxx_reg_access)