Re: [PATCH 2/2] iio: light: gp2ap020a00f: Select REGMAP_I2C

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

 



On Thu, Feb 12, 2015 at 11:00 PM, Roberta Dobrescu
<roberta.dobrescu@xxxxxxxxx> wrote:
> This patch adds missing 'select' statement for gp2ap020a00f driver.
> Without regmap_i2c, we get the following error when loading the module:
> Unknown symbol devm_regmap_init_i2c.
>
> Signed-off-by: Roberta Dobrescu <roberta.dobrescu@xxxxxxxxx>

Reviewed-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 e0ed374..a224afd 100644
> --- a/drivers/iio/light/Kconfig
> +++ b/drivers/iio/light/Kconfig
> @@ -73,6 +73,7 @@ config CM36651
>  config GP2AP020A00F
>         tristate "Sharp GP2AP020A00F Proximity/ALS sensor"
>         depends on I2C
> +       select REGMAP_I2C
>         select IIO_BUFFER
>         select IIO_TRIGGERED_BUFFER
>         select IRQ_WORK
> --
> 1.9.1
>
> --
> 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