Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1446749
| From | Bjorn Helgaas <helgaas@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 9/9] [RFC] pci: include <asm/dma.h> for isa_dma_bridge_buggy |
| Date | 2016-07-20 00:10 +0200 |
| Message-ID | <rWLnc-1hJ-33@gated-at.bofh.it> (permalink) |
| References | <rL3zb-88D-5@gated-at.bofh.it> <rL3zb-88D-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jun 17, 2016 at 04:05:13PM +0100, Ben Dooks wrote: > At least on arm, <asm/dma.h> does not get included when building > drivers/pci/pci.o. This causes the following build warning which > can be fixed by including <asm/dma.h>: > > drivers/pci/pci.c:37:5: warning: symbol 'isa_dma_bridge_buggy' was not declared. Should it be static? > > Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Applied to pci/misc for v4.8, thanks, Ben! > --- > Cc: Bjorn Helgaas <bhelgaas@google.com> > Cc: linux-pci@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > --- > drivers/pci/pci.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c > index 9add285..86b538d 100644 > --- a/drivers/pci/pci.c > +++ b/drivers/pci/pci.c > @@ -26,6 +26,7 @@ > #include <linux/pm_runtime.h> > #include <linux/pci_hotplug.h> > #include <asm/setup.h> > +#include <asm/dma.h> > #include <linux/aer.h> > #include "pci.h" > > -- > 2.8.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-pci" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 9/9] [RFC] pci: include <asm/dma.h> for isa_dma_bridge_buggy Bjorn Helgaas <helgaas@kernel.org> - 2016-07-20 00:10 +0200
csiph-web