X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fpci%2Fpci_auto.c;h=c4ed8ba6c3157fe9646c98a1a5896a39f2137e6e;hb=b98d934128bcd98106e764d2f492ac79c38ae53d;hp=ae61e24907a01bdb8ac8cc227f76a00b81fe985b;hpb=495dbd72dd1172de866ba323263a5b62cf454972;p=u-boot diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c index ae61e24907..c4ed8ba6c3 100644 --- a/drivers/pci/pci_auto.c +++ b/drivers/pci/pci_auto.c @@ -7,10 +7,7 @@ * * Copyright 2000 MontaVista Software Inc. * - * 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. + * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -89,7 +86,7 @@ void pciauto_setup_device(struct pci_controller *hose, struct pci_region *prefetch, struct pci_region *io) { - pci_addr_t bar_response; + u32 bar_response; pci_size_t bar_size; u16 cmdstat = 0; int bar, bar_nr = 0;