Commit 9a7f144
PCI: j721e: Fix module autoloading
Commit a2790bf ("PCI: j721e: Add support to build as a loadable
module") added support to build the driver as a loadable module. However,
it did not add MODULE_DEVICE_TABLE() which is required for autoloading the
driver based on device table when it is built as a loadable module.
Fix it by adding MODULE_DEVICE_TABLE.
Fixes: a2790bf ("PCI: j721e: Add support to build as a loadable module")
Signed-off-by: Siddharth Vadapalli <[email protected]>
[mani: reworded description]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Cc: [email protected]
Link: https://patch.msgid.link/[email protected]1 parent 8f5ae30 commit 9a7f144
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| 443 | + | |
443 | 444 | | |
444 | 445 | | |
445 | 446 | | |
| |||
0 commit comments