Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
+SAMSUNG_BASE(adc, ADC_BASE)
SAMSUNG_BASE(clock, CLOCK_BASE)
SAMSUNG_BASE(fimd, FIMD_BASE)
SAMSUNG_BASE(gpio_part1, GPIO_PART1_BASE)
SAMSUNG_BASE(clock, CLOCK_BASE)
SAMSUNG_BASE(fimd, FIMD_BASE)
SAMSUNG_BASE(gpio_part1, GPIO_PART1_BASE)
static unsigned short get_adc_value(int channel)
{
static unsigned short get_adc_value(int channel)
{
- struct s5p_adc *adc = (struct s5p_adc *)S5PC210_ADC_BASE;
+ struct s5p_adc *adc = (struct s5p_adc *)samsung_get_adc_base();
unsigned short ret = 0;
unsigned int reg;
unsigned int loop = 0;
unsigned short ret = 0;
unsigned int reg;
unsigned int loop = 0;