summaryrefslogtreecommitdiff
path: root/scripts/mod/devicetable-offsets.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@collabora.com>2020-02-27 12:31:08 +0100
committerBoris Brezillon <boris.brezillon@collabora.com>2020-02-28 09:36:00 +0100
commit1ce589ad3933aa15c1a2abbb5b5e3ad5de330423 (patch)
tree1cb709d621ede6e51a7210c331e90e7cf422e39e /scripts/mod/devicetable-offsets.c
parent7ec0ddb007cf2bdc4531b5100f35c084028d4587 (diff)
downloadlwn-1ce589ad3933aa15c1a2abbb5b5e3ad5de330423.tar.gz
lwn-1ce589ad3933aa15c1a2abbb5b5e3ad5de330423.zip
i3c: Generate aliases for i3c modules
This part was missing, thus preventing user space from loading modules automatically when MODALIAS uevents are received. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Vitor Soares <vitor.soares@synopsys.com> Link: https://lore.kernel.org/linux-i3c/79687073b915182e06fccfb18adcedfd0fadbc99.1582796652.git.vitor.soares@synopsys.com
Diffstat (limited to 'scripts/mod/devicetable-offsets.c')
-rw-r--r--scripts/mod/devicetable-offsets.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/mod/devicetable-offsets.c b/scripts/mod/devicetable-offsets.c
index 054405b90ba4..d3c237b9b7c0 100644
--- a/scripts/mod/devicetable-offsets.c
+++ b/scripts/mod/devicetable-offsets.c
@@ -145,6 +145,13 @@ int main(void)
DEVID(i2c_device_id);
DEVID_FIELD(i2c_device_id, name);
+ DEVID(i3c_device_id);
+ DEVID_FIELD(i3c_device_id, match_flags);
+ DEVID_FIELD(i3c_device_id, dcr);
+ DEVID_FIELD(i3c_device_id, manuf_id);
+ DEVID_FIELD(i3c_device_id, part_id);
+ DEVID_FIELD(i3c_device_id, extra_info);
+
DEVID(spi_device_id);
DEVID_FIELD(spi_device_id, name);