net: wan: fsl_qmc_hdlc: Fix module compilation
The fsl_qmc_driver does not compile as module:
error: ‘qmc_hdlc_driver’ undeclared here (not in a function);
405 | MODULE_DEVICE_TABLE(of, qmc_hdlc_driver);
| ^~~~~~~~~~~~~~~
Fix the typo.
Fixes: b40f00ecd463 ("net: wan: Add support for QMC HDLC")
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Closes: https://lore.kernel.org/linux-kernel/87ttl93f7i.fsf@mail.lhotse/
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ea80e3ed09
commit
badc9e33c7
@@ -780,7 +780,7 @@ static const struct of_device_id qmc_hdlc_id_table[] = {
|
||||
{ .compatible = "fsl,qmc-hdlc" },
|
||||
{} /* sentinel */
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, qmc_hdlc_driver);
|
||||
MODULE_DEVICE_TABLE(of, qmc_hdlc_id_table);
|
||||
|
||||
static struct platform_driver qmc_hdlc_driver = {
|
||||
.driver = {
|
||||
|
||||
Reference in New Issue
Block a user