summaryrefslogtreecommitdiff
path: root/include/linux/mfd/kempld.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/kempld.h')
-rw-r--r--include/linux/mfd/kempld.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/mfd/kempld.h b/include/linux/mfd/kempld.h
index 643c096b93ac..5d75071eaaea 100644
--- a/include/linux/mfd/kempld.h
+++ b/include/linux/mfd/kempld.h
@@ -37,6 +37,7 @@
#define KEMPLD_SPEC_GET_MINOR(x) (x & 0x0f)
#define KEMPLD_SPEC_GET_MAJOR(x) ((x >> 4) & 0x0f)
#define KEMPLD_IRQ_GPIO 0x35
+#define KEMPLD_IRQ_GPIO_MASK 0x0f
#define KEMPLD_IRQ_I2C 0x36
#define KEMPLD_CFG 0x37
#define KEMPLD_CFG_GPIO_I2C_MUX (1 << 0)
@@ -97,10 +98,10 @@ struct kempld_device_data {
/**
* struct kempld_platform_data - PLD hardware configuration structure
* @pld_clock: PLD clock frequency
- * @gpio_base GPIO base pin number
+ * @gpio_base: GPIO base pin number
* @ioresource: IO addresses of the PLD
- * @get_mutex: PLD specific get_mutex callback
- * @release_mutex: PLD specific release_mutex callback
+ * @get_hardware_mutex: PLD specific get_mutex callback
+ * @release_hardware_mutex: PLD specific release_mutex callback
* @get_info: PLD specific get_info callback
* @register_cells: PLD specific register_cells callback
*/