From: Dirk Behme <dirk.behme@de.bosch.com>
To: linux-mips@linux-mips.org
Subject: Missing #ifdef in asm/pci.h?
Date: Wed, 26 Nov 2003 09:18:13 +0100 [thread overview]
Message-ID: <3FC461C5.6060303@de.bosch.com> (raw)
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
reply other threads:[~2003-11-26 8:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FC461C5.6060303@de.bosch.com \
--to=dirk.behme@de.bosch.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.