summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
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 /include/linux/debugobjects.h
parent01676b0f3b625a9aa608d5b716898e9dba2fb63e (diff)
downloadcachepc-linux-024f5d4f0ac087f73732a3084bdea5029ab0ca6b.tar.gz
cachepc-linux-024f5d4f0ac087f73732a3084bdea5029ab0ca6b.zip
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions