Skip to contentSkip to conversation

FAILED: patch "[PATCH] iio: Fix an undefied reference error in noa1305_probe" failed to apply to 5.3-stable tree

PATCH [email protected] 2 participants 2 messages Oct 14, 2019 – Oct 15, 2019

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

The patch below does not apply to the 5.3-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From a26e0fbe06e20077afdaa40d1a90092f16b0bc67 Mon Sep 17 00:00:00 2001
From: zhong jiang <[email protected]>
Date: Mon, 23 Sep 2019 10:04:32 +0800
Subject: [PATCH] iio: Fix an undefied reference error in noa1305_probe

I hit the following error when compile the kernel.

drivers/iio/light/noa1305.o: In function `noa1305_probe':
noa1305.c:(.text+0x65): undefined reference to `__devm_regmap_init_i2c'
make: *** [vmlinux] Error 1

drivers/iio/light/Kconfig +1 -0
index 08d7e1ef2186..4a1a883dc061 100644
@@ -314,6 +314,7 @@ config MAX44009
 config NOA1305
 	tristate "ON Semiconductor NOA1305 ambient light sensor"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	 Say Y here if you want to build support for the ON Semiconductor
 	 NOA1305 ambient light sensor.
maintainer
#1 lore raw
Quoted 19 lines · On Mon, Oct 14, 2019 at 05:00:58PM +0200, [email protected] wrote:

The patch below does not apply to the 5.3-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From a26e0fbe06e20077afdaa40d1a90092f16b0bc67 Mon Sep 17 00:00:00 2001
From: zhong jiang <[email protected]>
Date: Mon, 23 Sep 2019 10:04:32 +0800
Subject: [PATCH] iio: Fix an undefied reference error in noa1305_probe

I hit the following error when compile the kernel.

Quoted 7 lines

drivers/iio/light/noa1305.o: In function `noa1305_probe':
noa1305.c:(.text+0x65): undefined reference to `__devm_regmap_init_i2c'
make: *** [vmlinux] Error 1

This driver was added in 5.4, the stable tag here is wrong.

Signature · 2 lines
Thanks,
Sasha