OK.+tpm_lsse_
+static const struct tpm_class_ops lsse_tpm_ops = {
+ .flags = TPM_OPS_AUTO_STARTUP,
+ .recv = tpm_ls_recv,
+ .send = tpm_ls_send,
+};
+
+static int lsse_tpm_probe(struct platform_device *pdev)
+
+static struct platform_driver lsse_tpm_driver = {
+ .probe = lsse_tpm_probe,
+ .driver = {
+ .name = "ls6000se-tpm",
+ },
+};
+module_platform_driver(lsse_tpm_driver);
+
+MODULE_ALIAS("platform:ls6000se-tpm");
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Yinggang Gu <guyinggang@xxxxxxxxxxx>");
+MODULE_AUTHOR("Qunqin Zhao <zhaoqunqin@xxxxxxxxxxx>");
Remove MODULE_AUTHOR fields. Git encodes this already.
+MODULE_DESCRIPTION("Loongson TPM driver");Prefix all with tpm_lsse instead of tpm
--
2.43.0
BR, Jarkko