diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-06 20:40:22 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:45 -0800 |
commit | 219576e127c4f7770aa985f719e815936bc54367 (patch) | |
tree | 5e8caf17cae3a23105ce5d229c3e943d2edb9b77 /include/asm-h8300/pci.h | |
parent | bb8cc641653d785e3f3b8d3b0182a69edf825802 (diff) | |
download | linux-3.10-219576e127c4f7770aa985f719e815936bc54367.tar.gz linux-3.10-219576e127c4f7770aa985f719e815936bc54367.tar.bz2 linux-3.10-219576e127c4f7770aa985f719e815936bc54367.zip |
[PATCH] include/asm-h8300/: "extern inline" -> "static inline"
"extern inline" generates a warning with -Wmissing-prototypes and I'm
currently working on getting the kernel cleaned up for adding this to the
CFLAGS since it will help us to avoid a nasty class of runtime errors.
If there are places that really need a forced inline, __always_inline would be
the correct solution.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-h8300/pci.h')
-rw-r--r-- | include/asm-h8300/pci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-h8300/pci.h b/include/asm-h8300/pci.h index 5edad5b70fd..0c771b05fdd 100644 --- a/include/asm-h8300/pci.h +++ b/include/asm-h8300/pci.h @@ -10,12 +10,12 @@ #define pcibios_assign_all_busses() 0 #define pcibios_scan_all_fns(a, b) 0 -extern inline void pcibios_set_master(struct pci_dev *dev) +static inline void pcibios_set_master(struct pci_dev *dev) { /* No special bus mastering setup handling */ } -extern inline void pcibios_penalize_isa_irq(int irq, int active) +static inline void pcibios_penalize_isa_irq(int irq, int active) { /* We don't do dynamic PCI IRQ allocation */ } |