All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: light: Select REGMAP_I2C
@ 2015-02-12 21:00 Roberta Dobrescu
  2015-02-12 21:00 ` [PATCH 1/2] iio: light: jsa1212: " Roberta Dobrescu
  2015-02-12 21:00 ` [PATCH 2/2] iio: light: gp2ap020a00f: " Roberta Dobrescu
  0 siblings, 2 replies; 7+ messages in thread
From: Roberta Dobrescu @ 2015-02-12 21:00 UTC (permalink / raw)
  To: linux-iio
  Cc: daniel.baluta, octavian.purdila, jic23, knaack.h, lars, pmeerw,
	Roberta Dobrescu

This patchset adds missing select statements for gp2ap020a00f and jsa1212
drivers. Without regmap_i2c, loadind these drivers fails with the following
error message:
Unknown symbol devm_regmap_init_i2c.

Roberta Dobrescu (2):
  iio: light: jsa1212: Select REGMAP_I2C
  iio: light: gp2ap020a00f: Select REGMAP_I2C

 drivers/iio/light/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/2] iio: light: jsa1212: Select REGMAP_I2C
  2015-02-12 21:00 [PATCH 0/2] iio: light: Select REGMAP_I2C Roberta Dobrescu
@ 2015-02-12 21:00 ` Roberta Dobrescu
  2015-02-13  7:59   ` Daniel Baluta
  2015-02-12 21:00 ` [PATCH 2/2] iio: light: gp2ap020a00f: " Roberta Dobrescu
  1 sibling, 1 reply; 7+ messages in thread
From: Roberta Dobrescu @ 2015-02-12 21:00 UTC (permalink / raw)
  To: linux-iio
  Cc: daniel.baluta, octavian.purdila, jic23, knaack.h, lars, pmeerw,
	Roberta Dobrescu

This patch adds missing 'select' statement for jsa1212 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@gmail.com>
---
 drivers/iio/light/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index ae68c64..e0ed374 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -126,6 +126,7 @@ config HID_SENSOR_PROX
 config JSA1212
 	tristate "JSA1212 ALS and proximity sensor driver"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	 Say Y here if you want to build a IIO driver for JSA1212
 	 proximity & ALS sensor device.
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] iio: light: gp2ap020a00f: Select REGMAP_I2C
  2015-02-12 21:00 [PATCH 0/2] iio: light: Select REGMAP_I2C Roberta Dobrescu
  2015-02-12 21:00 ` [PATCH 1/2] iio: light: jsa1212: " Roberta Dobrescu
@ 2015-02-12 21:00 ` Roberta Dobrescu
  2015-02-13  8:00   ` Daniel Baluta
  1 sibling, 1 reply; 7+ messages in thread
From: Roberta Dobrescu @ 2015-02-12 21:00 UTC (permalink / raw)
  To: linux-iio
  Cc: daniel.baluta, octavian.purdila, jic23, knaack.h, lars, pmeerw,
	Roberta Dobrescu

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@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] iio: light: jsa1212: Select REGMAP_I2C
  2015-02-12 21:00 ` [PATCH 1/2] iio: light: jsa1212: " Roberta Dobrescu
@ 2015-02-13  7:59   ` Daniel Baluta
  2015-02-14 11:29     ` Jonathan Cameron
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Baluta @ 2015-02-13  7:59 UTC (permalink / raw)
  To: Roberta Dobrescu, Jonathan Cameron, Kuppuswamy Sathyanarayanan
  Cc: linux-iio, Daniel Baluta, octavian.purdila, Hartmut Knaack,
	Lars-Peter Clausen, Peter Meerwald

On Thu, Feb 12, 2015 at 11:00 PM, Roberta Dobrescu
<roberta.dobrescu@gmail.com> wrote:
> This patch adds missing 'select' statement for jsa1212 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@gmail.com>

Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>

> ---
>  drivers/iio/light/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
> index ae68c64..e0ed374 100644
> --- a/drivers/iio/light/Kconfig
> +++ b/drivers/iio/light/Kconfig
> @@ -126,6 +126,7 @@ config HID_SENSOR_PROX
>  config JSA1212
>         tristate "JSA1212 ALS and proximity sensor driver"
>         depends on I2C
> +       select REGMAP_I2C
>         help
>          Say Y here if you want to build a IIO driver for JSA1212
>          proximity & ALS sensor device.
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] iio: light: gp2ap020a00f: Select REGMAP_I2C
  2015-02-12 21:00 ` [PATCH 2/2] iio: light: gp2ap020a00f: " Roberta Dobrescu
@ 2015-02-13  8:00   ` Daniel Baluta
  2015-02-14 11:29     ` Jonathan Cameron
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Baluta @ 2015-02-13  8:00 UTC (permalink / raw)
  To: Roberta Dobrescu
  Cc: linux-iio, Daniel Baluta, octavian.purdila, Jonathan Cameron,
	Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald

On Thu, Feb 12, 2015 at 11:00 PM, Roberta Dobrescu
<roberta.dobrescu@gmail.com> 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@gmail.com>

Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>

> ---
>  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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] iio: light: gp2ap020a00f: Select REGMAP_I2C
  2015-02-13  8:00   ` Daniel Baluta
@ 2015-02-14 11:29     ` Jonathan Cameron
  0 siblings, 0 replies; 7+ messages in thread
From: Jonathan Cameron @ 2015-02-14 11:29 UTC (permalink / raw)
  To: Daniel Baluta, Roberta Dobrescu
  Cc: linux-iio, octavian.purdila, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald

On 13/02/15 08:00, Daniel Baluta wrote:
> On Thu, Feb 12, 2015 at 11:00 PM, Roberta Dobrescu
> <roberta.dobrescu@gmail.com> 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@gmail.com>
> 
> Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
> 
Applied to the fixes-togreg branch of iio.git.

Thanks,

Jonathan
>> ---
>>  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@vger.kernel.org
>> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] iio: light: jsa1212: Select REGMAP_I2C
  2015-02-13  7:59   ` Daniel Baluta
@ 2015-02-14 11:29     ` Jonathan Cameron
  0 siblings, 0 replies; 7+ messages in thread
From: Jonathan Cameron @ 2015-02-14 11:29 UTC (permalink / raw)
  To: Daniel Baluta, Roberta Dobrescu, Kuppuswamy Sathyanarayanan
  Cc: linux-iio, octavian.purdila, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald

On 13/02/15 07:59, Daniel Baluta wrote:
> On Thu, Feb 12, 2015 at 11:00 PM, Roberta Dobrescu
> <roberta.dobrescu@gmail.com> wrote:
>> This patch adds missing 'select' statement for jsa1212 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@gmail.com>
> 
> Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Applied to a special branch for fixes dependent on those
patches that went in during the merge window...
fixes-post-3.20-rc1

Always fun for fixes around this point in the cycle!
> 
>> ---
>>  drivers/iio/light/Kconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
>> index ae68c64..e0ed374 100644
>> --- a/drivers/iio/light/Kconfig
>> +++ b/drivers/iio/light/Kconfig
>> @@ -126,6 +126,7 @@ config HID_SENSOR_PROX
>>  config JSA1212
>>         tristate "JSA1212 ALS and proximity sensor driver"
>>         depends on I2C
>> +       select REGMAP_I2C
>>         help
>>          Say Y here if you want to build a IIO driver for JSA1212
>>          proximity & ALS sensor device.
>> --
>> 1.9.1
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-14 11:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-12 21:00 [PATCH 0/2] iio: light: Select REGMAP_I2C Roberta Dobrescu
2015-02-12 21:00 ` [PATCH 1/2] iio: light: jsa1212: " Roberta Dobrescu
2015-02-13  7:59   ` Daniel Baluta
2015-02-14 11:29     ` Jonathan Cameron
2015-02-12 21:00 ` [PATCH 2/2] iio: light: gp2ap020a00f: " Roberta Dobrescu
2015-02-13  8:00   ` Daniel Baluta
2015-02-14 11:29     ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.