adc: Cleanup DW adc driver
This patch adds the "static" keyword to all the functions that have a containing file scope. Change-Id: Ib05943b53b6863b5b44848ecb2199b7e99d24139 Signed-off-by: Vincenzo Frascino <vincenzo.frascino@linaro.org>
This commit is contained in:
parent
c3b54339da
commit
0dfab90d30
1 changed files with 3 additions and 3 deletions
|
@ -357,7 +357,7 @@ int adc_dw_init(struct device *dev)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_ADC_DW_SINGLESHOT
|
||||
void adc_dw_rx_isr(void *arg)
|
||||
static void adc_dw_rx_isr(void *arg)
|
||||
{
|
||||
struct device *dev = (struct device *)arg;
|
||||
struct device_config *dev_config = dev->config;
|
||||
|
@ -390,7 +390,7 @@ void adc_dw_rx_isr(void *arg)
|
|||
device_sync_call_complete(&info->sync);
|
||||
}
|
||||
#else /*CONFIG_ADC_DW_REPETITIVE*/
|
||||
void adc_dw_rx_isr(void *arg)
|
||||
static void adc_dw_rx_isr(void *arg)
|
||||
{
|
||||
struct device *dev = (struct device *)arg;
|
||||
struct device_config *dev_config = dev->config;
|
||||
|
@ -442,7 +442,7 @@ void adc_dw_rx_isr(void *arg)
|
|||
#endif
|
||||
|
||||
|
||||
void adc_dw_err_isr(void *arg)
|
||||
static void adc_dw_err_isr(void *arg)
|
||||
{
|
||||
struct device *dev = (struct device *) arg;
|
||||
const struct adc_config *config = dev->config->config_info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue