.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0+ |
---|
1 | 2 | /* |
---|
2 | 3 | * USB cluster support for Armada 375 platform. |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2014 Marvell |
---|
5 | 6 | * |
---|
6 | 7 | * 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. |
---|
11 | 8 | * |
---|
12 | 9 | * Armada 375 comes with an USB2 host and device controller and an |
---|
13 | 10 | * USB3 controller. The USB cluster control register allows to manage |
---|
.. | .. |
---|
18 | 15 | #include <linux/init.h> |
---|
19 | 16 | #include <linux/io.h> |
---|
20 | 17 | #include <linux/kernel.h> |
---|
21 | | -#include <linux/module.h> |
---|
22 | 18 | #include <linux/of_address.h> |
---|
23 | 19 | #include <linux/phy/phy.h> |
---|
24 | 20 | #include <linux/platform_device.h> |
---|
.. | .. |
---|
142 | 138 | { .compatible = "marvell,armada-375-usb-cluster", }, |
---|
143 | 139 | { /* end of list */ }, |
---|
144 | 140 | }; |
---|
145 | | -MODULE_DEVICE_TABLE(of, of_usb_cluster_table); |
---|
146 | 141 | |
---|
147 | 142 | static struct platform_driver armada375_usb_phy_driver = { |
---|
148 | 143 | .probe = armada375_usb_phy_probe, |
---|
.. | .. |
---|
151 | 146 | .name = "armada-375-usb-cluster", |
---|
152 | 147 | } |
---|
153 | 148 | }; |
---|
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); |
---|