Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: accel: Change adxl345 depend to negate adxl35x

Change 'depends on INPUT_ADXL34X=n' to '!(INPUT_ADXL34X)' to allow both
drivers to be compiled as modules. The user then can use the blacklist
to block loading one.

Signed-off-by: Jorge Marques <jorge.marques@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Jorge Marques and committed by
Jonathan Cameron
048a15b7 4aa91223

+6 -4
+6 -4
drivers/iio/accel/Kconfig
··· 64 64 65 65 config ADXL345_I2C 66 66 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver" 67 - depends on INPUT_ADXL34X=n 67 + depends on !INPUT_ADXL34X 68 68 depends on I2C 69 69 select ADXL345 70 70 select REGMAP_I2C ··· 74 74 75 75 To compile this driver as a module, choose M here: the module 76 76 will be called adxl345_i2c and you will also get adxl345_core 77 - for the core module. 77 + for the core module. INPUT_ADXL34X share compatibles with this 78 + driver, do not add both modules to the kernel. 78 79 79 80 config ADXL345_SPI 80 81 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer SPI Driver" 81 - depends on INPUT_ADXL34X=n 82 + depends on !INPUT_ADXL34X 82 83 depends on SPI 83 84 select ADXL345 84 85 select REGMAP_SPI ··· 89 88 90 89 To compile this driver as a module, choose M here: the module 91 90 will be called adxl345_spi and you will also get adxl345_core 92 - for the core module. 91 + for the core module. INPUT_ADXL34X share compatibles with this 92 + driver, do not add both modules to the kernel. 93 93 94 94 config ADXL355 95 95 tristate