mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
i3c: master: adi: add OF module alias for autoloading
The Analog Devices I3C master driver can be built as a module and uses
adi_i3c_master_of_match as its OF match table, but the table is not
exported for module alias generation.
Add the MODULE_DEVICE_TABLE(of, ...) entry so modpost can generate OF
module aliases for OF based module autoloading.
Fixes: a79ac2cdc9 ("i3c: master: Add driver for Analog Devices I3C Controller IP")
Signed-off-by: Can Peng <pengcan@kylinos.cn>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260715012949.180245-1-pengcan@kylinos.cn
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
bc0bc485c8
commit
a733069a19
|
|
@ -932,6 +932,7 @@ static const struct of_device_id adi_i3c_master_of_match[] = {
|
|||
{ .compatible = "adi,i3c-master-v1" },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, adi_i3c_master_of_match);
|
||||
|
||||
static int adi_i3c_master_probe(struct platform_device *pdev)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user