mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
sparc64: fix sparse warning in pci.c
Fix following warning: pci.c:886:5: warning: symbol 'pci64_dma_supported' was not declared. Should it be static? Add proper prototype in kernel.h and delete local prototype in iommu.c Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a0c54a21dd
commit
4ac7b8268e
3 changed files with 5 additions and 2 deletions
|
@ -41,6 +41,9 @@ void __irq_entry smp_new_mmu_context_version_client(int irq, struct pt_regs *reg
|
|||
void __irq_entry smp_penguin_jailcell(int irq, struct pt_regs *regs);
|
||||
void __irq_entry smp_receive_signal_client(int irq, struct pt_regs *regs);
|
||||
|
||||
/* pci.c */
|
||||
int pci64_dma_supported(struct pci_dev *pdev, u64 device_mask);
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SPARC32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue