diff options
| author | Can Peng <pengcan@kylinos.cn> | 2026-07-14 17:18:45 +0800 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-08-07 23:51:04 +0100 |
| commit | a3c03cf36a083893dedad928915471dc8c10692e (patch) | |
| tree | 65c3b6d8e581b02f31bef9a59ef018a2c769f871 /tools/perf/scripts/python | |
| parent | d64bfd9f3352b9d9bdeca06de1a0a1c1bd47b896 (diff) | |
| download | linux-a3c03cf36a083893dedad928915471dc8c10692e.tar.gz linux-a3c03cf36a083893dedad928915471dc8c10692e.zip | |
iio: dac: ad5446: fix OF module device table
The ad5446 I2C driver exports its OF match table with
MODULE_DEVICE_TABLE(OF, ...).
The device table type is used by modpost when generating module aliases,
and scripts/mod/file2alias.c matches the lowercase "of" type. Using
"OF" prevents the OF table from being recognized, so no OF module alias is
generated for the I2C driver.
Use the lowercase "of" type so OF-based module autoloading works.
Fixes: 876d94024087 ("iio: dac: ad5446: Separate I2C/SPI into different drivers")
Signed-off-by: Can Peng <pengcan@kylinos.cn>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
