[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8104966f-8e46-47b8-9e20-acefb667b5cf@roeck-us.net>
Date: Wed, 13 Nov 2024 12:04:26 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Jean Delvare <jdelvare@...e.com>, Frank Li <Frank.Li@....com>,
Arnd Bergmann <arnd@...db.de>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwmon: tmp108: fix I3C dependency
On Wed, Nov 13, 2024 at 06:55:33PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> 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@...db.de>
I knew I missed something ;-).
Thanks a lot for the patch. Applied.
Guenter
Powered by blists - more mailing lists