summaryrefslogtreecommitdiff
path: root/scripts/mod/devicetable-offsets.c
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2018-04-21 18:55:29 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-14 16:33:48 +0200
commit5b7d127726de6eed4b900bc3bbb167837690818f (patch)
tree9e35ab71dd2a0bf4c4c82887cb210dce44d83894 /scripts/mod/devicetable-offsets.c
parent065c09563c872e52813a17218c52cd642be1dca6 (diff)
rpmsg: Correct support for MODULE_DEVICE_TABLE()
Due to missing a missing entry in file2alias.c MODULE_DEVICE_TABLE() are not generating the proper module aliases. Add the needed entry here. Fixes: bcabbccabffe ("rpmsg: add virtio-based remote processor messaging bus") Reported-by: Suman Anna <s-anna@ti.com> Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/mod/devicetable-offsets.c')
-rw-r--r--scripts/mod/devicetable-offsets.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mod/devicetable-offsets.c b/scripts/mod/devicetable-offsets.c
index 9fad6afe4c41..6667f7b491d6 100644
--- a/scripts/mod/devicetable-offsets.c
+++ b/scripts/mod/devicetable-offsets.c
@@ -139,6 +139,9 @@ int main(void)
DEVID(hv_vmbus_device_id);
DEVID_FIELD(hv_vmbus_device_id, guid);
+ DEVID(rpmsg_device_id);
+ DEVID_FIELD(rpmsg_device_id, name);
+
DEVID(i2c_device_id);
DEVID_FIELD(i2c_device_id, name);