{ .compatible = "brcm,bcm6338-iudma", },
{ .compatible = "brcm,bcm6348-iudma", },
{ .compatible = "brcm,bcm6358-iudma", },
- { /* sentinel */ },
+ { /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, bcm6348_emac_of_match);
static struct platform_driver bcm6348_iudma_driver = {
.driver = {
},
.probe = bcm6348_iudma_probe,
};
-builtin_platform_driver(bcm6348_iudma_driver);
+module_platform_driver(bcm6348_iudma_driver);
/*
* BCM6348 Eternet MACs
{ .compatible = "brcm,bcm6338-emac", },
{ .compatible = "brcm,bcm6348-emac", },
{ .compatible = "brcm,bcm6358-emac", },
- { /* sentinel */ },
+ { /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, bcm6348_emac_of_match);
return ret;
}
+
+MODULE_AUTHOR("Álvaro Fernández Rojas <noltari@gmail.com>");
+MODULE_DESCRIPTION("BCM6348 Ethernet Controller Driver");
+MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:bcm6348-enet");
.remove = bcm6368_enetsw_remove,
};
module_platform_driver(bcm6368_enetsw_driver);
+
+MODULE_AUTHOR("Álvaro Fernández Rojas <noltari@gmail.com>");
+MODULE_DESCRIPTION("BCM6368 Ethernet Switch Controller Driver");
+MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:bcm6368-enetsw");