# Re: \[PATCH v4 0/6\] Add driver for NVIDIA Tegra30 SoC Thermal sensor

- From: Dmitry Osipenko \<digetx@gmail.com\>
- Date: 2021-06-21 17:27:14 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/06/1421441
- Thread: https://ratatoskr.run/linux-pm/2021/06/1417082/t.md

```text
21.06.2021 20:13, Daniel Lezcano пишет:
> 
> Hi Dmitry,
> 
> I compiled the your series and got these unresolved.
> 
> arm-linux-gnueabi-ld: drivers/thermal/tegra/soctherm-fuse.o: in function
> `tegra_calc_shared_calib':
> soctherm-fuse.c:(.text+0x60): undefined reference to `tegra_fuse_readl'
> arm-linux-gnueabi-ld: soctherm-fuse.c:(.text+0xf0): undefined reference
> to `tegra_fuse_readl'
> arm-linux-gnueabi-ld: drivers/thermal/tegra/soctherm-fuse.o: in function
> `tegra_calc_tsensor_calib':
> soctherm-fuse.c:(.text+0x144): undefined reference to `tegra_fuse_readl'
> arm-linux-gnueabi-ld: drivers/thermal/tegra/tegra30-tsensor.o: in
> function `tegra_tsensor_fuse_read_spare':
> tegra30-tsensor.c:(.text+0x364): undefined reference to `tegra_fuse_readl'
> arm-linux-gnueabi-ld: drivers/thermal/tegra/tegra30-tsensor.o: in
> function `tegra_tsensor_probe':
> tegra30-tsensor.c:(.text+0x874): undefined reference to `tegra_fuse_readl'
> arm-linux-gnueabi-ld:
> drivers/thermal/tegra/tegra30-tsensor.o:tegra30-tsensor.c:(.text+0x904):
> more undefined references to `tegra_fuse_readl' follow
> make[1]: *** [/home/dlezcano/Work/src/linux/Makefile:1196: vmlinux] Error 1
> make: *** [/home/dlezcano/Work/src/linux/Makefile:215: __sub-make] Error 2

The missing stub was added by [1]. I guess you could take [2] for the
base since Thierry already sent out PR for 5.14, or we could defer the
"thermal/drivers/tegra: Correct compile-testing of drivers" patch till
the next kernel version. Please choose whatever is easier for you.

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=30b44e81772a5caa983000057ce1cd9cb4531647

[2]
https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git/log/?h=for-5.14/soc
```
