summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-02-22 11:00:03 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-26 19:10:56 +0000
commit024f5d4f0ac087f73732a3084bdea5029ab0ca6b (patch)
tree777110a32129ccb2ec25c8fd39917d41139cf75b /lib/mpi/mpi-mod.c
parent01676b0f3b625a9aa608d5b716898e9dba2fb63e (diff)
iio: accel: adxl345: Set driver_data for OF enumeration
In order to enable this driver on mode platforms, assign driver_data field in the OF device ID table. While at it, make sure that device type is not 0 which may be wrongly interpreted by device property APIs in the future. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Link: https://lore.kernel.org/r/20220222090009.2060-2-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions