summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer/bmc150_magn_i2c.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2019-04-17 02:49:27 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-22 13:51:29 +0300
commit447ccb4e0834a9f9f0dd5643e421c7f1a1649e6a (patch)
treec2b8ab04a6fdfceb4a969c613f7e73f3c379fe80 /drivers/iio/magnetometer/bmc150_magn_i2c.c
parentdfd4f6497614ccb34f822849dd2e1fd2c44de37f (diff)
downloadlinux-447ccb4e0834a9f9f0dd5643e421c7f1a1649e6a.tar.xz
iio: adc: qcom-spmi-adc5: Fix of-based module autoloading
The of_device_id table needs to be registered as module alias in order for automatic module loading to pick the kernel module based on the DeviceTree compatible. So add MODULE_DEVICE_TABLE() to make this happen. Fixes: e13d757279bb ("iio: adc: Add QCOM SPMI PMIC5 ADC driver") Cc: stable@vger.kernel.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/magnetometer/bmc150_magn_i2c.c')
0 files changed, 0 insertions, 0 deletions