Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Missing #ifdef in asm/pci.h?
@ 2003-11-26  8:18 Dirk Behme
  0 siblings, 0 replies; only message in thread
From: Dirk Behme @ 2003-11-26  8:18 UTC (permalink / raw)
  To: linux-mips

Hello,

with linux_2_6_0_test9 include/asm-mips/pci.h I get these warnings:

include/asm/pci.h: In function `pci_dac_page_to_dma':
include/asm/pci.h:84: warning: implicit declaration of function 
`dev_to_baddr'
include/asm/pci.h: In function `pci_dac_dma_to_page':
include/asm/pci.h:90: warning: implicit declaration of function 
`baddr_to_dev'

dev_to_baddr and baddr_to_dev are defined in arch/mips/mm/dma-ip27.c and 
therefore can't be included in pci.h.

Is it possible that in pci.h there is missing an appropriate #ifdef 
around the pci_dac_* functions?

If I disable all pci_dac_* functions with #if 0, everything compiles 
without problems.

Dirk

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-26  8:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-26  8:18 Missing #ifdef in asm/pci.h? Dirk Behme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox