hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/phy/marvell/phy-mvebu-sata.c
....@@ -1,16 +1,12 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * phy-mvebu-sata.c: SATA Phy driver for the Marvell mvebu SoCs.
34 *
45 * Copyright (C) 2013 Andrew Lunn <andrew@lunn.ch>
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License
8
- * as published by the Free Software Foundation; either version
9
- * 2 of the License, or (at your option) any later version.
106 */
117
128 #include <linux/kernel.h>
13
-#include <linux/module.h>
9
+#include <linux/init.h>
1410 #include <linux/clk.h>
1511 #include <linux/phy/phy.h>
1612 #include <linux/io.h>
....@@ -122,7 +118,6 @@
122118 { .compatible = "marvell,mvebu-sata-phy" },
123119 { },
124120 };
125
-MODULE_DEVICE_TABLE(of, phy_mvebu_sata_of_match);
126121
127122 static struct platform_driver phy_mvebu_sata_driver = {
128123 .probe = phy_mvebu_sata_probe,
....@@ -131,8 +126,4 @@
131126 .of_match_table = phy_mvebu_sata_of_match,
132127 }
133128 };
134
-module_platform_driver(phy_mvebu_sata_driver);
135
-
136
-MODULE_AUTHOR("Andrew Lunn <andrew@lunn.ch>");
137
-MODULE_DESCRIPTION("Marvell MVEBU SATA PHY driver");
138
-MODULE_LICENSE("GPL v2");
129
+builtin_platform_driver(phy_mvebu_sata_driver);