diff options
| author | Pengpeng Hou <hppiscas@163.com> | 2026-09-20 11:33:03 +0800 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-09-30 18:59:55 +0100 |
| commit | 52da294027f53e7084c18dd4b4f73354a40382f3 (patch) | |
| tree | 59247a380dcad6632bb683e3d25b62c346593605 /scripts/subarch.include | |
| parent | 49ee1c6a3ebda6b7de06b2961b0e09c1c3fe536a (diff) | |
| download | linux-stable-52da294027f53e7084c18dd4b4f73354a40382f3.tar.gz linux-stable-52da294027f53e7084c18dd4b4f73354a40382f3.zip | |
iio: cdc: ad7150: fix OF matching and publish module aliases
The OF match entries use positional initializers, which initialize the
name field rather than compatible. Consequently the advertised AD7150,
AD7151 and AD7156 compatible strings do not describe OF compatible
matches. The table is also not exported for module alias generation.
Use designated compatible initializers and publish the OF table. Keep
the existing I2C ID table and its device-variant selection unchanged.
The issue was found by our static-analysis tool.
Fixes: 89f2d5b080bc ("staging:iio:cdc:ad7150: Add of_match_table")
Assisted-by: LLM
Cc: stable@vger.kernel.org
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'scripts/subarch.include')
0 files changed, 0 insertions, 0 deletions
