Re: [PATCH] staging:iio:dummy fix kfifo_buf kconfig dependency issue if kfifo modular and buffer enabled for built in dummy driver.

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

 



On 09/01/13 10:55, Jonathan Cameron wrote:
> This only occurs in the unlikely event that the example driver is built
> in whilst the buffer implementation is not.
> 
> Solved by switching from a depends on to a select for this particular case.
> 
> Reported-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
>  drivers/staging/iio/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/iio/Kconfig b/drivers/staging/iio/Kconfig
> index db4d6dc..b36feb0 100644
> --- a/drivers/staging/iio/Kconfig
> +++ b/drivers/staging/iio/Kconfig
> @@ -37,7 +37,7 @@ config IIO_SIMPLE_DUMMY_EVENTS
>  
>  config IIO_SIMPLE_DUMMY_BUFFER
>         boolean "Buffered capture support"
> -       depends on IIO_KFIFO_BUF
> +       select IIO_KFIFO_BUF
>         help
>           Add buffered data capture to the simple dummy driver.
>  
> 


-- 
~Randy
--
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