Re: [PATCH] iio: adc: at91: make the function handle_adc_eoc_trigger() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27/08/2014 10:31, Josh Wu :
> The handle_adc_eoc_trigger() in only used in at91_adc.c. So make it
> static.
> 
> Signed-off-by: Josh Wu <josh.wu@xxxxxxxxx>

Absolutely.

Acked-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>

Thanks, bye.

> ---
>  drivers/iio/adc/at91_adc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
> index 772e869..7807e0e 100644
> --- a/drivers/iio/adc/at91_adc.c
> +++ b/drivers/iio/adc/at91_adc.c
> @@ -266,7 +266,7 @@ static irqreturn_t at91_adc_trigger_handler(int irq, void *p)
>  }
>  
>  /* Handler for classic adc channel eoc trigger */
> -void handle_adc_eoc_trigger(int irq, struct iio_dev *idev)
> +static void handle_adc_eoc_trigger(int irq, struct iio_dev *idev)
>  {
>  	struct at91_adc_state *st = iio_priv(idev);
>  
> 


-- 
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux