diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/at91_adc.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/linux/platform_data/at91_adc.h b/include/linux/platform_data/at91_adc.h index b3ca1e94e0c8..fcf73879dbfe 100644 --- a/include/linux/platform_data/at91_adc.h +++ b/include/linux/platform_data/at91_adc.h | |||
| @@ -8,25 +8,6 @@ | |||
| 8 | #define _AT91_ADC_H_ | 8 | #define _AT91_ADC_H_ |
| 9 | 9 | ||
| 10 | /** | 10 | /** |
| 11 | * struct at91_adc_reg_desc - Various informations relative to registers | ||
| 12 | * @channel_base: Base offset for the channel data registers | ||
| 13 | * @drdy_mask: Mask of the DRDY field in the relevant registers | ||
| 14 | (Interruptions registers mostly) | ||
| 15 | * @status_register: Offset of the Interrupt Status Register | ||
| 16 | * @trigger_register: Offset of the Trigger setup register | ||
| 17 | * @mr_prescal_mask: Mask of the PRESCAL field in the adc MR register | ||
| 18 | * @mr_startup_mask: Mask of the STARTUP field in the adc MR register | ||
| 19 | */ | ||
| 20 | struct at91_adc_reg_desc { | ||
| 21 | u8 channel_base; | ||
| 22 | u32 drdy_mask; | ||
| 23 | u8 status_register; | ||
| 24 | u8 trigger_register; | ||
| 25 | u32 mr_prescal_mask; | ||
| 26 | u32 mr_startup_mask; | ||
| 27 | }; | ||
| 28 | |||
| 29 | /** | ||
| 30 | * struct at91_adc_trigger - description of triggers | 11 | * struct at91_adc_trigger - description of triggers |
| 31 | * @name: name of the trigger advertised to the user | 12 | * @name: name of the trigger advertised to the user |
| 32 | * @value: value to set in the ADC's trigger setup register | 13 | * @value: value to set in the ADC's trigger setup register |
| @@ -42,8 +23,6 @@ struct at91_adc_trigger { | |||
| 42 | /** | 23 | /** |
| 43 | * struct at91_adc_data - platform data for ADC driver | 24 | * struct at91_adc_data - platform data for ADC driver |
| 44 | * @channels_used: channels in use on the board as a bitmask | 25 | * @channels_used: channels in use on the board as a bitmask |
| 45 | * @num_channels: global number of channels available on the board | ||
| 46 | * @registers: Registers definition on the board | ||
| 47 | * @startup_time: startup time of the ADC in microseconds | 26 | * @startup_time: startup time of the ADC in microseconds |
| 48 | * @trigger_list: Triggers available in the ADC | 27 | * @trigger_list: Triggers available in the ADC |
| 49 | * @trigger_number: Number of triggers available in the ADC | 28 | * @trigger_number: Number of triggers available in the ADC |
| @@ -52,8 +31,6 @@ struct at91_adc_trigger { | |||
| 52 | */ | 31 | */ |
| 53 | struct at91_adc_data { | 32 | struct at91_adc_data { |
| 54 | unsigned long channels_used; | 33 | unsigned long channels_used; |
| 55 | u8 num_channels; | ||
| 56 | struct at91_adc_reg_desc *registers; | ||
| 57 | u8 startup_time; | 34 | u8 startup_time; |
| 58 | struct at91_adc_trigger *trigger_list; | 35 | struct at91_adc_trigger *trigger_list; |
| 59 | u8 trigger_number; | 36 | u8 trigger_number; |
