All of lore.kernel.org
 help / color / mirror / Atom feed
* CONFIG_HID_SENSOR_IIO_TRIGGER depends on CONFIG_IIO_TRIGGERED_BUFFER
@ 2021-04-13 23:34 Thomas Deutschmann
  2021-04-14  8:48 ` Alexandru Ardelean
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Deutschmann @ 2021-04-13 23:34 UTC (permalink / raw)
  To: linux-iio


[-- Attachment #1.1: Type: text/plain, Size: 644 bytes --]

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.

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CONFIG_HID_SENSOR_IIO_TRIGGER depends on CONFIG_IIO_TRIGGERED_BUFFER
  2021-04-13 23:34 CONFIG_HID_SENSOR_IIO_TRIGGER depends on CONFIG_IIO_TRIGGERED_BUFFER Thomas Deutschmann
@ 2021-04-14  8:48 ` Alexandru Ardelean
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandru Ardelean @ 2021-04-14  8:48 UTC (permalink / raw)
  To: Thomas Deutschmann; +Cc: linux-iio

On Wed, Apr 14, 2021 at 10:47 AM Thomas Deutschmann <whissi@gentoo.org> 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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-14  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 23:34 CONFIG_HID_SENSOR_IIO_TRIGGER depends on CONFIG_IIO_TRIGGERED_BUFFER Thomas Deutschmann
2021-04-14  8:48 ` Alexandru Ardelean

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.