Re: [PATCH] media: i2c: video-i2c: fix build errors due to 'imply hwmon'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 23, 2020 at 12:29 AM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
>
> Perhaps IS_REACHABLE?

Ah learn a new macro everyday. I'll use that for v2

Thanks,

Matt

>
> On Monday, March 23, 2020, Sakari Ailus <sakari.ailus@xxxxxx> wrote:
>>
>> 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
>
>
>
> --
> With Best Regards,
> Andy Shevchenko
>
>



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux