Skip to contentSkip to conversation

iio: light: Select REGMAP_I2C

PATCH Applied Roberta Dobrescu 3 participants 7 messages Feb 12, 2015 – Feb 14, 2015 IIO

lore
Share & tools
lore
#0 lore raw

cover iio: light: Select REGMAP_I2C

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(+)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/2 iio: light: jsa1212: Select REGMAP_I2C

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.

---
 drivers/iio/light/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/light/Kconfig +1 -0
index ae68c64..e0ed374 100644
@@ -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.
Signature · 1 line
1.9.1
Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] iio: light: jsa1212: Select REGMAP_I2C

Quoted 5 lines · 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.

Quoted 23 lines
---
 drivers/iio/light/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/light/Kconfig +1 -1
index ae68c64..e0ed374 100644
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer Applied
#3 lore raw

Re: [PATCH 1/2] iio: light: jsa1212: Select REGMAP_I2C

Quoted 9 lines · Daniel Baluta
Quoted 5 lines · 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.

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!

Quoted 24 lines
Quoted 24 lines
---
 drivers/iio/light/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/light/Kconfig +1 -1
index ae68c64..e0ed374 100644
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

PATCH 2/2 iio: light: gp2ap020a00f: Select REGMAP_I2C

In reply to 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.

---
 drivers/iio/light/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/light/Kconfig +1 -0
index e0ed374..a224afd 100644
@@ -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
Signature · 1 line
1.9.1
Reviewed-by on v1 2/2
#5 lore raw

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

Quoted 5 lines · 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.

Quoted 23 lines
---
 drivers/iio/light/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/light/Kconfig +1 -1
index e0ed374..a224afd 100644
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer Applied
#6 lore raw

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

Quoted 10 lines · Daniel Baluta
Quoted 5 lines · 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.

Applied to the fixes-togreg branch of iio.git.

Thanks,

Jonathan

Quoted 28 lines
Quoted 19 lines
---
 drivers/iio/light/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/light/Kconfig +1 -1
index e0ed374..a224afd 100644
@@ -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

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html