On Wed, Apr 14, 2021 at 10:47 AM Thomas Deutschmann <whissi@xxxxxxxxxx> wrote: > > Hi, > > when you try to build kernel with > > CONFIG_HID_SENSOR_IIO_TRIGGER=m > # CONFIG_IIO_TRIGGERED_BUFFER is not set > > build will fail with > > > ERROR: modpost: "iio_triggered_buffer_cleanup" [drivers/iio/common/hid-sensors/hid-sensor-trigger.ko] undefined! > > ERROR: modpost: "iio_triggered_buffer_setup" [drivers/iio/common/hid-sensors/hid-sensor-trigger.ko] undefined! > > So CONFIG_HID_SENSOR_IIO_TRIGGER should depend on > CONFIG_IIO_TRIGGERED_BUFFER. My bad here. Will send a fix. This is a peculiar case where the his-sensor-trigger module gets built without any sensor drivers to use it. > > This was reported via https://bugs.gentoo.org/782496. > > > -- > Regards, > Thomas Deutschmann / Gentoo Linux Developer > fpr: C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5 >