Perform a simple rename of CONFIG_ODROID_REV_AIN to CFG_ODROID_REV_AIN
Signed-off-by: Tom Rini <trini@konsulko.com>
unsigned int adcval_prev = 0;
int ret, retries = 20;
- ret = adc_channel_single_shot("adc@12D10000", CONFIG_ODROID_REV_AIN,
+ ret = adc_channel_single_shot("adc@12D10000", CFG_ODROID_REV_AIN,
&adcval_prev);
if (ret)
return ret;
mdelay(5);
ret = adc_channel_single_shot("adc@12D10000",
- CONFIG_ODROID_REV_AIN, adcval);
+ CFG_ODROID_REV_AIN, adcval);
if (ret)
return ret;
#define CONFIG_SET_DFU_ALT_BUF_LEN (SZ_1K)
/* Set soc_rev, soc_id, board_rev, board_name, fdtfile */
-#define CONFIG_ODROID_REV_AIN 9
+#define CFG_ODROID_REV_AIN 9
/*
* Need to override existing one (smdk5420) with odroid so set_board_info will