On Sat, Mar 21, 2020 at 06:18:33PM -0700, Matt Ranostay wrote: > Fix build fault when CONFIG_HWMON is a module, and CONFIG_VIDEO_I2C > as builtin. This is due to 'imply hwmon' in the respective Kconfig. > > Issue build log: > > ld: drivers/media/i2c/video-i2c.o: in function `amg88xx_hwmon_init': > video-i2c.c:(.text+0x2e1): undefined reference to `devm_hwmon_device_register_with_info > > Cc: rdunlap@xxxxxxxxxxxxx > Fixes: acbea6798955 (media: video-i2c: add hwmon support for amg88xx) > Signed-off-by: Matt Ranostay <matt.ranostay@xxxxxxxxxxxx> Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> -- Sakari Ailus