diff options
author | Jonathan Cameron <jic23@kernel.org> | 2013-02-09 10:49:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-02-09 15:22:14 +0000 |
commit | aaa300262c5912bda34c9cf871719209eae01b06 (patch) | |
tree | b8aacdd6cf7dfbc6caf125a368fb9b2f84e52241 /drivers/iio/gyro/st_gyro_i2c.c | |
parent | ad6c46b0c712e0d8fd8a80ee372b30f14a781888 (diff) |
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: Jonathan Cameron <jic23@kernel.org>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Denis Ciocca <denis.ciocca@st.com>
Diffstat (limited to 'drivers/iio/gyro/st_gyro_i2c.c')
0 files changed, 0 insertions, 0 deletions