Re: [PATCH 1/2] iio:light:ltr501: fix regmap dependency

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

 



On Sun, Jun 28, 2015 at 1:31 PM, Hartmut Knaack <knaack.h@xxxxxx> wrote:
> The use of regmap in commit [1] requires REGMAP_I2C to be selected, in
> order to meet all dependencies.
>
> [1]     2f2c96338afc9f90aa5a0fca04ece1a5c389ee31
>         "iio: ltr501: Add regmap support."

The standard way to do this is:

Fixes: 2f2c96338afc ("iio: ltr501: Add regmap support.")

>
> Signed-off-by: Hartmut Knaack <knaack.h@xxxxxx>

Otherwise,

Acked-by: Daniel Baluta <daniel.baluta@xxxxxxxxx>

> ---
>  drivers/iio/light/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
> index 730fa80..1f1e103 100644
> --- a/drivers/iio/light/Kconfig
> +++ b/drivers/iio/light/Kconfig
> @@ -199,6 +199,7 @@ config SENSORS_LM3533
>  config LTR501
>         tristate "LTR-501ALS-01 light sensor"
>         depends on I2C
> +       select REGMAP_I2C
>         select IIO_BUFFER
>         select IIO_TRIGGERED_BUFFER
>         help
> --
> 2.3.6
>
> --
> 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
--
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