summaryrefslogtreecommitdiff
path: root/include/linux/mfd/as3711.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/as3711.h')
-rw-r--r--include/linux/mfd/as3711.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/as3711.h b/include/linux/mfd/as3711.h
index 38452ce1e..34cc85864 100644
--- a/include/linux/mfd/as3711.h
+++ b/include/linux/mfd/as3711.h
@@ -51,7 +51,8 @@
#define AS3711_ASIC_ID_1 0x90
#define AS3711_ASIC_ID_2 0x91
-#define AS3711_MAX_REGS 0x92
+#define AS3711_MAX_REG AS3711_ASIC_ID_2
+#define AS3711_NUM_REGS (AS3711_MAX_REG + 1)
/* Regulators */
enum {