hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/phy/marvell/phy-armada375-usb2.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0+
12 /*
23 * USB cluster support for Armada 375 platform.
34 *
45 * Copyright (C) 2014 Marvell
56 *
67 * Gregory CLEMENT <gregory.clement@free-electrons.com>
7
- *
8
- * This file is licensed under the terms of the GNU General Public
9
- * License version 2 or later. This program is licensed "as is"
10
- * without any warranty of any kind, whether express or implied.
118 *
129 * Armada 375 comes with an USB2 host and device controller and an
1310 * USB3 controller. The USB cluster control register allows to manage
....@@ -18,7 +15,6 @@
1815 #include <linux/init.h>
1916 #include <linux/io.h>
2017 #include <linux/kernel.h>
21
-#include <linux/module.h>
2218 #include <linux/of_address.h>
2319 #include <linux/phy/phy.h>
2420 #include <linux/platform_device.h>
....@@ -142,7 +138,6 @@
142138 { .compatible = "marvell,armada-375-usb-cluster", },
143139 { /* end of list */ },
144140 };
145
-MODULE_DEVICE_TABLE(of, of_usb_cluster_table);
146141
147142 static struct platform_driver armada375_usb_phy_driver = {
148143 .probe = armada375_usb_phy_probe,
....@@ -151,8 +146,4 @@
151146 .name = "armada-375-usb-cluster",
152147 }
153148 };
154
-module_platform_driver(armada375_usb_phy_driver);
155
-
156
-MODULE_DESCRIPTION("Armada 375 USB cluster driver");
157
-MODULE_AUTHOR("Gregory CLEMENT <gregory.clement@free-electrons.com>");
158
-MODULE_LICENSE("GPL");
149
+builtin_platform_driver(armada375_usb_phy_driver);