]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/pci/tsi108_pci.c
tpm: Convert drivers to use SPDX
[karo-tx-uboot.git] / drivers / pci / tsi108_pci.c
index 627e8a07929c7bf2ff3ec26a5036068cf79d8d2b..d48e1e6fe6514e254d253b50dce596accee2441b 100644 (file)
@@ -2,23 +2,7 @@
  * (C) Copyright 2004 Tundra Semiconductor Corp.
  * Alex Bounine <alexandreb@tundra.com>
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
@@ -94,7 +78,8 @@ unsigned int __get_pci_config_dword (u32 addr)
                             ".section __ex_table,\"a\"\n"
                             "       .align 2\n"
                             "       .long 1b,3b\n"
-                            ".text":"=r"(retval):"r"(addr));
+                            ".section .text.__get_pci_config_dword"
+                               : "=r"(retval) : "r"(addr));
 
        return (retval);
 }