summaryrefslogtreecommitdiffstats
path: root/arch/tile/include/asm/pci.h
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-04-25 18:45:26 +0200
committerChris Metcalf <cmetcalf@tilera.com>2012-04-25 18:45:26 +0200
commit05ef1b79d46347f94d9a78214cc745046c03e45a (patch)
tree4e073d0958c86a1d1292c0563f706d5ee6091863 /arch/tile/include/asm/pci.h
parentinit: fix bug where environment vars can't be passed via boot args (diff)
downloadlinux-05ef1b79d46347f94d9a78214cc745046c03e45a.tar.xz
linux-05ef1b79d46347f94d9a78214cc745046c03e45a.zip
arch/tile: fix a couple of functions that should be __init
They were marked __devinit by mistake, causing some warnings at link time. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/include/asm/pci.h')
-rw-r--r--arch/tile/include/asm/pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/tile/include/asm/pci.h b/arch/tile/include/asm/pci.h
index 5d5a635530bd..32e6cbe8dff3 100644
--- a/arch/tile/include/asm/pci.h
+++ b/arch/tile/include/asm/pci.h
@@ -47,8 +47,8 @@ struct pci_controller {
*/
#define PCI_DMA_BUS_IS_PHYS 1
-int __devinit tile_pci_init(void);
-int __devinit pcibios_init(void);
+int __init tile_pci_init(void);
+int __init pcibios_init(void);
static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr) {}