usb: xhci-mvebu: use xhci_deregister() for .remove callback
[oweals/u-boot.git] / drivers / usb / host / r8a66597.h
index 9af6446c134efd0417d37ffdc1f9b7212ed083dd..67dc3c4588ee015533bb6ddc3720f97d208958dd 100644 (file)
@@ -3,19 +3,7 @@
  *
  * Copyright (C) 2008  Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
+ * SPDX-License-Identifier:    GPL-2.0
  */
 
 #ifndef __R8A66597_H__
@@ -438,7 +426,7 @@ static inline void r8a66597_read_fifo(struct r8a66597 *r8a66597,
 
        count = len / 4;
        for (i = 0; i < count; i++)
-               inl(p[i], r8a66597->reg + offset);
+               p[i] = inl(r8a66597->reg + offset);
 
        if (len & 0x00000003) {
                unsigned long tmp = inl(fifoaddr);