|
@@ -25,7 +25,6 @@
|
|
|
#include <linux/fb.h>
|
|
|
#include <video/atmel_lcdc.h>
|
|
|
|
|
|
-#include <mach/at91_adc.h>
|
|
|
#include <mach/at91sam9g45.h>
|
|
|
#include <mach/at91sam9g45_matrix.h>
|
|
|
#include <mach/at91_matrix.h>
|
|
@@ -1237,13 +1236,6 @@ static struct at91_adc_trigger at91_adc_triggers[] = {
|
|
|
},
|
|
|
};
|
|
|
|
|
|
-static struct at91_adc_reg_desc at91_adc_register_g45 = {
|
|
|
- .channel_base = AT91_ADC_CHR(0),
|
|
|
- .drdy_mask = AT91_ADC_DRDY,
|
|
|
- .status_register = AT91_ADC_SR,
|
|
|
- .trigger_register = 0x08,
|
|
|
-};
|
|
|
-
|
|
|
void __init at91_add_device_adc(struct at91_adc_data *data)
|
|
|
{
|
|
|
if (!data)
|
|
@@ -1269,9 +1261,7 @@ void __init at91_add_device_adc(struct at91_adc_data *data)
|
|
|
if (data->use_external_triggers)
|
|
|
at91_set_A_periph(AT91_PIN_PD28, 0);
|
|
|
|
|
|
- data->num_channels = 8;
|
|
|
data->startup_time = 40;
|
|
|
- data->registers = &at91_adc_register_g45;
|
|
|
data->trigger_number = 4;
|
|
|
data->trigger_list = at91_adc_triggers;
|
|
|
|