diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-11-13 18:55:33 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-11-13 12:03:54 -0800 |
commit | 83b645ee43f796dc765cc541d5cafa6fe2b1f3fa (patch) | |
tree | eb5b99c5ae51e03ec2d1e335544f54eb593648a0 /drivers/mfd | |
parent | c1fff92d808bb41064b783a072dee834bcc29f33 (diff) |
hwmon: tmp108: fix I3C dependency
It's possible to build a kernel with tmp108 built-in but i3c support
in a loadable module, but that results in a link failure:
x86_64-linux-ld: drivers/hwmon/tmp108.o: in function `p3t1085_i3c_probe':
tmp108.c:(.text+0x5f9): undefined reference to `i3cdev_to_dev'
Add a Kconfig dependency to ensure only the working configurations
are allowed.
Fixes: c40655e33106 ("hwmon: (tmp108) Add support for I3C device")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Message-ID: <20241113175615.2442851-1-arnd@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions