diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/ti_am335x_tscadc.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/mfd/ti_am335x_tscadc.h b/include/linux/mfd/ti_am335x_tscadc.h index e36ae4184917..fe54ba4a3b2f 100644 --- a/include/linux/mfd/ti_am335x_tscadc.h +++ b/include/linux/mfd/ti_am335x_tscadc.h | |||
| @@ -120,11 +120,6 @@ | |||
| 120 | 120 | ||
| 121 | #define TSCADC_CELLS 2 | 121 | #define TSCADC_CELLS 2 |
| 122 | 122 | ||
| 123 | enum tscadc_cells { | ||
| 124 | TSC_CELL, | ||
| 125 | ADC_CELL, | ||
| 126 | }; | ||
| 127 | |||
| 128 | struct mfd_tscadc_board { | 123 | struct mfd_tscadc_board { |
| 129 | struct tsc_data *tsc_init; | 124 | struct tsc_data *tsc_init; |
| 130 | struct adc_data *adc_init; | 125 | struct adc_data *adc_init; |
| @@ -135,6 +130,9 @@ struct ti_tscadc_dev { | |||
| 135 | struct regmap *regmap_tscadc; | 130 | struct regmap *regmap_tscadc; |
| 136 | void __iomem *tscadc_base; | 131 | void __iomem *tscadc_base; |
| 137 | int irq; | 132 | int irq; |
| 133 | int used_cells; /* 1-2 */ | ||
| 134 | int tsc_cell; /* -1 if not used */ | ||
| 135 | int adc_cell; /* -1 if not used */ | ||
| 138 | struct mfd_cell cells[TSCADC_CELLS]; | 136 | struct mfd_cell cells[TSCADC_CELLS]; |
| 139 | u32 reg_se_cache; | 137 | u32 reg_se_cache; |
| 140 | spinlock_t reg_lock; | 138 | spinlock_t reg_lock; |
