mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 16:44:10 +08:00
bf96f6e80c
This moves the KXSD9 SPI transport out to its own file and Kconfig entry, so that we will be able to add another transport method. We export the common probe and add a local header file for the functionality shared between the main driver and the transport driver. We make the SPI transport the default for the driver if SPI is available and the KXSD9 driver was selected, so the oldconfig upgrade path will be clear. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
#
|
|
# Makefile for industrial I/O accelerometer drivers
|
|
#
|
|
|
|
# When adding new entries keep the list in alphabetical order
|
|
obj-$(CONFIG_BMA180) += bma180.o
|
|
obj-$(CONFIG_BMA220) += bma220_spi.o
|
|
obj-$(CONFIG_BMC150_ACCEL) += bmc150-accel-core.o
|
|
obj-$(CONFIG_BMC150_ACCEL_I2C) += bmc150-accel-i2c.o
|
|
obj-$(CONFIG_BMC150_ACCEL_SPI) += bmc150-accel-spi.o
|
|
obj-$(CONFIG_DMARD06) += dmard06.o
|
|
obj-$(CONFIG_DMARD09) += dmard09.o
|
|
obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
|
|
obj-$(CONFIG_KXCJK1013) += kxcjk-1013.o
|
|
obj-$(CONFIG_KXSD9) += kxsd9.o
|
|
obj-$(CONFIG_KXSD9_SPI) += kxsd9-spi.o
|
|
|
|
obj-$(CONFIG_MMA7455) += mma7455_core.o
|
|
obj-$(CONFIG_MMA7455_I2C) += mma7455_i2c.o
|
|
obj-$(CONFIG_MMA7455_SPI) += mma7455_spi.o
|
|
|
|
obj-$(CONFIG_MMA7660) += mma7660.o
|
|
|
|
obj-$(CONFIG_MMA8452) += mma8452.o
|
|
|
|
obj-$(CONFIG_MMA9551_CORE) += mma9551_core.o
|
|
obj-$(CONFIG_MMA9551) += mma9551.o
|
|
obj-$(CONFIG_MMA9553) += mma9553.o
|
|
|
|
obj-$(CONFIG_MXC4005) += mxc4005.o
|
|
obj-$(CONFIG_MXC6255) += mxc6255.o
|
|
|
|
obj-$(CONFIG_STK8312) += stk8312.o
|
|
obj-$(CONFIG_STK8BA50) += stk8ba50.o
|
|
|
|
obj-$(CONFIG_IIO_SSP_SENSORS_COMMONS) += ssp_accel_sensor.o
|
|
|
|
obj-$(CONFIG_IIO_ST_ACCEL_3AXIS) += st_accel.o
|
|
st_accel-y := st_accel_core.o
|
|
st_accel-$(CONFIG_IIO_BUFFER) += st_accel_buffer.o
|
|
|
|
obj-$(CONFIG_IIO_ST_ACCEL_I2C_3AXIS) += st_accel_i2c.o
|
|
obj-$(CONFIG_IIO_ST_ACCEL_SPI_3AXIS) += st_accel_spi.o
|