Skip to content

Commit badc9e3

Browse files
hcodinadavem330
authored andcommitted
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>
1 parent ea80e3e commit badc9e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/wan/fsl_qmc_hdlc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ static const struct of_device_id qmc_hdlc_id_table[] = {
780780
{ .compatible = "fsl,qmc-hdlc" },
781781
{} /* sentinel */
782782
};
783-
MODULE_DEVICE_TABLE(of, qmc_hdlc_driver);
783+
MODULE_DEVICE_TABLE(of, qmc_hdlc_id_table);
784784

785785
static struct platform_driver qmc_hdlc_driver = {
786786
.driver = {

0 commit comments

Comments
 (0)