Skip to content
Snippets Groups Projects
Commit aaa30026 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio:triggers Protect functions in triggers.h from use when not compiled


Also include a couple of forward defs of struct iio_trigger and struct
iio_trigger_ops to avoid doing this in each driver.

Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: default avatarDenis Ciocca <denis.ciocca@st.com>
parent ad6c46b0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment