diff options
author | Andrew Davis <afd@ti.com> | 2025-06-19 15:57:22 -0500 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2025-08-25 08:20:21 -0600 |
commit | 6e29c30d8ddea6109ea7e0b9f17e7841df0794ea (patch) | |
tree | 0c1cb43f8c8b7808b98bc72b3eaf8e99cebefcd8 /rust/kernel/irq/request.rs | |
parent | c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9 (diff) |
rpmsg: char: Export alias for RPMSG ID rpmsg-raw from table
Module aliases are used by userspace to identify the correct module to
load for a detected hardware. The currently supported RPMSG device IDs for
this module include "rpmsg-raw", but the module alias is "rpmsg_chrdev".
Use the helper macro MODULE_DEVICE_TABLE(rpmsg) to export the correct
supported IDs. And while here, to keep backwards compatibility we also add
the other ID "rpmsg_chrdev" so that it is also still exported as an alias.
This has the side benefit of adding support for some legacy firmware
which still uses the original "rpmsg_chrdev" ID. This was the ID used for
this driver before it was upstreamed (as reflected by the module alias).
Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Hari Nagalla <hnagalla@ti.com>
Tested-by: Hari Nagalla <hnagalla@ti.com>
Link: https://lore.kernel.org/r/20250619205722.133827-1-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'rust/kernel/irq/request.rs')
0 files changed, 0 insertions, 0 deletions