On Sat, Jan 12, 2019 at 3:04 AM Sam Ravnborg <sam@xxxxxxxxxxxx> wrote: > > On Fri, Jan 11, 2019 at 11:22:25PM -0800, Andrey Smirnov wrote: > > Pci_scan_bus is not used anyhwere outside pci.c. Mark in static to > > reflect that. No functional change intended. > > > > Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> > > --- > > drivers/pci/pci.c | 4 +++- > > include/linux/pci.h | 1 - > > 2 files changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c > > index 198ec9e995..b0f5ac1b15 100644 > > --- a/drivers/pci/pci.c > > +++ b/drivers/pci/pci.c > > @@ -4,6 +4,8 @@ > > #include <linux/sizes.h> > > #include <linux/pci.h> > > > > +static unsigned int pci_scan_bus(struct pci_bus *bus); > > Move function to avoid this forward? > I'd rather keep the diff to a minimum, I'll leave it up to Sascha if he wants to do what you suggest instead. Thanks, Andrey Smirnov _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox