iio:st_sensors fix build when !CONFIG_IIO_TRIGGER
Partly a case of removing unused headers and partly a case of ifdefing out the iio_trigger_ops structures. This has come about because of an 'unusual' separation of code in this driver. Signed-off-by: NJonathan Cameron <jic23@kernel.org> Reported-by: NRandy Dunlap <rdunlap@infradead.org> Acked-by: NDenis Ciocca <denis.ciocca@st.com>
Showing
想要评论请 注册 或 登录