.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * phy-mvebu-sata.c: SATA Phy driver for the Marvell mvebu SoCs. |
---|
3 | 4 | * |
---|
4 | 5 | * 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. |
---|
10 | 6 | */ |
---|
11 | 7 | |
---|
12 | 8 | #include <linux/kernel.h> |
---|
13 | | -#include <linux/module.h> |
---|
| 9 | +#include <linux/init.h> |
---|
14 | 10 | #include <linux/clk.h> |
---|
15 | 11 | #include <linux/phy/phy.h> |
---|
16 | 12 | #include <linux/io.h> |
---|
.. | .. |
---|
122 | 118 | { .compatible = "marvell,mvebu-sata-phy" }, |
---|
123 | 119 | { }, |
---|
124 | 120 | }; |
---|
125 | | -MODULE_DEVICE_TABLE(of, phy_mvebu_sata_of_match); |
---|
126 | 121 | |
---|
127 | 122 | static struct platform_driver phy_mvebu_sata_driver = { |
---|
128 | 123 | .probe = phy_mvebu_sata_probe, |
---|
.. | .. |
---|
131 | 126 | .of_match_table = phy_mvebu_sata_of_match, |
---|
132 | 127 | } |
---|
133 | 128 | }; |
---|
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); |
---|