summaryrefslogtreecommitdiffstats
path: root/scripts/mod/devicetable-offsets.c
diff options
context:
space:
mode:
authorAndrew F. Davis2018-04-22 01:55:29 +0200
committerGreg Kroah-Hartman2018-05-14 16:33:48 +0200
commit5b7d127726de6eed4b900bc3bbb167837690818f (patch)
tree9e35ab71dd2a0bf4c4c82887cb210dce44d83894 /scripts/mod/devicetable-offsets.c
parent1wire: family module autoload fails because of upper/lower case mismatch. (diff)
downloadkernel-qcow2-linux-5b7d127726de6eed4b900bc3bbb167837690818f.tar.gz
kernel-qcow2-linux-5b7d127726de6eed4b900bc3bbb167837690818f.tar.xz
kernel-qcow2-linux-5b7d127726de6eed4b900bc3bbb167837690818f.zip
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);