mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
b4d2192e6f
Would have merged this into the original patch as a fixup but I've already pushed that out as an immutable branch for others to use so it'll have to be a separate patch. The original select had a typo as well. Trying to do this via a select was opening a can of worms due to a tree of other elements that would also have needed selecting. A simple depends seems much mroe straight forward and appropriate in this case. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Cc: Lee Jones <lee.jones@linaro.org> Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com>
23 lines
700 B
Plaintext
23 lines
700 B
Plaintext
#
|
|
# Chrome OS Embedded Controller managed sensors library
|
|
#
|
|
config IIO_CROS_EC_SENSORS_CORE
|
|
tristate "ChromeOS EC Sensors Core"
|
|
depends on SYSFS && MFD_CROS_EC
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Base module for the ChromeOS EC Sensors module.
|
|
Contains core functions used by other IIO CrosEC sensor
|
|
drivers.
|
|
Define common attributes and sysfs interrupt handler.
|
|
|
|
config IIO_CROS_EC_SENSORS
|
|
tristate "ChromeOS EC Contiguous Sensors"
|
|
depends on IIO_CROS_EC_SENSORS_CORE
|
|
help
|
|
Module to handle 3d contiguous sensors like
|
|
Accelerometers, Gyroscope and Magnetometer that are
|
|
presented by the ChromeOS EC Sensor hub.
|
|
Creates an IIO device for each functions.
|