.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /** |
---|
2 | 3 | * omap-usb-tll.c - The USB TLL driver for OMAP EHCI & OHCI |
---|
3 | 4 | * |
---|
4 | | - * Copyright (C) 2012-2013 Texas Instruments Incorporated - http://www.ti.com |
---|
| 5 | + * Copyright (C) 2012-2013 Texas Instruments Incorporated - https://www.ti.com |
---|
5 | 6 | * Author: Keshava Munegowda <keshava_mgowda@ti.com> |
---|
6 | 7 | * Author: Roger Quadros <rogerq@ti.com> |
---|
7 | | - * |
---|
8 | | - * This program is free software: you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License version 2 of |
---|
10 | | - * the License as published by the Free Software Foundation. |
---|
11 | | - * |
---|
12 | | - * This program is distributed in the hope that it will be useful, |
---|
13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
15 | | - * GNU General Public License for more details. |
---|
16 | | - * |
---|
17 | | - * You should have received a copy of the GNU General Public License |
---|
18 | | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
19 | 8 | */ |
---|
20 | 9 | #include <linux/kernel.h> |
---|
21 | 10 | #include <linux/module.h> |
---|
.. | .. |
---|
110 | 99 | struct usbtll_omap { |
---|
111 | 100 | void __iomem *base; |
---|
112 | 101 | int nch; /* num. of channels */ |
---|
113 | | - struct clk *ch_clk[0]; /* must be the last member */ |
---|
| 102 | + struct clk *ch_clk[]; /* must be the last member */ |
---|
114 | 103 | }; |
---|
115 | 104 | |
---|
116 | 105 | /*-------------------------------------------------------------------------*/ |
---|
.. | .. |
---|
210 | 199 | * usbtll_omap_probe - initialize TI-based HCDs |
---|
211 | 200 | * |
---|
212 | 201 | * Allocates basic resources for this USB host controller. |
---|
| 202 | + * |
---|
| 203 | + * @pdev: Pointer to this device's platform device structure |
---|
213 | 204 | */ |
---|
214 | 205 | static int usbtll_omap_probe(struct platform_device *pdev) |
---|
215 | 206 | { |
---|
.. | .. |
---|
315 | 306 | |
---|
316 | 307 | static struct platform_driver usbtll_omap_driver = { |
---|
317 | 308 | .driver = { |
---|
318 | | - .name = (char *)usbtll_driver_name, |
---|
| 309 | + .name = usbtll_driver_name, |
---|
319 | 310 | .of_match_table = usbtll_omap_dt_ids, |
---|
320 | 311 | }, |
---|
321 | 312 | .probe = usbtll_omap_probe, |
---|
.. | .. |
---|
459 | 450 | |
---|
460 | 451 | MODULE_AUTHOR("Keshava Munegowda <keshava_mgowda@ti.com>"); |
---|
461 | 452 | MODULE_AUTHOR("Roger Quadros <rogerq@ti.com>"); |
---|
462 | | -MODULE_ALIAS("platform:" USBHS_DRIVER_NAME); |
---|
463 | 453 | MODULE_LICENSE("GPL v2"); |
---|
464 | 454 | MODULE_DESCRIPTION("usb tll driver for TI OMAP EHCI and OHCI controllers"); |
---|
465 | 455 | |
---|