diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/gigabeat-fx/adc-meg-fx.c')
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/adc-meg-fx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/adc-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/adc-meg-fx.c index 4c448c2e41..9a934c2487 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/adc-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/adc-meg-fx.c | |||
@@ -17,6 +17,7 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | #include "cpu.h" | 19 | #include "cpu.h" |
20 | #include "system.h" | ||
20 | #include "adc-target.h" | 21 | #include "adc-target.h" |
21 | #include "kernel.h" | 22 | #include "kernel.h" |
22 | 23 | ||
@@ -35,7 +36,7 @@ void adc_init(void) | |||
35 | int i; | 36 | int i; |
36 | 37 | ||
37 | /* Turn on the ADC PCLK */ | 38 | /* Turn on the ADC PCLK */ |
38 | CLKCON |= (1<<15); | 39 | s3c_regset(&CLKCON, 1<<15); |
39 | 40 | ||
40 | /* Set channel 0, normal mode, disable "start by read" */ | 41 | /* Set channel 0, normal mode, disable "start by read" */ |
41 | ADCCON &= ~(0x3F); | 42 | ADCCON &= ~(0x3F); |