diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2010-09-10 12:36:39 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-10-28 18:29:03 -0400 |
commit | 2c7e6f5797140b33ec2b967ff28941e1c7eff4b2 (patch) | |
tree | c05033ac7712ab253981dc43ac512577113c91c4 /include/linux/mfd/max8998.h | |
parent | 676e02d7a2ed9bb02994670a07df533a29a99de6 (diff) |
mfd: Add MAX8998 interrupts support
Use genirq and provide seperated file for interrupts support.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/max8998.h')
-rw-r--r-- | include/linux/mfd/max8998.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/linux/mfd/max8998.h b/include/linux/mfd/max8998.h index 1d3601a2d853..d47ed4c190fe 100644 --- a/include/linux/mfd/max8998.h +++ b/include/linux/mfd/max8998.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * max8698.h - Voltage regulator driver for the Maxim 8998 | 2 | * max8998.h - Voltage regulator driver for the Maxim 8998 |
3 | * | 3 | * |
4 | * Copyright (C) 2009-2010 Samsung Electrnoics | 4 | * Copyright (C) 2009-2010 Samsung Electrnoics |
5 | * Kyungmin Park <kyungmin.park@samsung.com> | 5 | * Kyungmin Park <kyungmin.park@samsung.com> |
@@ -66,13 +66,16 @@ struct max8998_regulator_data { | |||
66 | 66 | ||
67 | /** | 67 | /** |
68 | * struct max8998_board - packages regulator init data | 68 | * struct max8998_board - packages regulator init data |
69 | * @num_regulators: number of regultors used | ||
70 | * @regulators: array of defined regulators | 69 | * @regulators: array of defined regulators |
70 | * @num_regulators: number of regultors used | ||
71 | * @irq_base: base IRQ number for max8998, required for IRQs | ||
72 | * @ono: power onoff IRQ number for max8998 | ||
71 | */ | 73 | */ |
72 | |||
73 | struct max8998_platform_data { | 74 | struct max8998_platform_data { |
74 | int num_regulators; | ||
75 | struct max8998_regulator_data *regulators; | 75 | struct max8998_regulator_data *regulators; |
76 | int num_regulators; | ||
77 | int irq_base; | ||
78 | int ono; | ||
76 | }; | 79 | }; |
77 | 80 | ||
78 | #endif /* __LINUX_MFD_MAX8998_H */ | 81 | #endif /* __LINUX_MFD_MAX8998_H */ |