Commit 4bff7fd2 authored by Ivan Kokshaysky's avatar Ivan Kokshaysky Committed by Linus Torvalds

[PATCH] fixes for PCI reorg changes

There are missing #includes which will break compilation on some non-x86
platforms. With following patch this compiles and works on alpha.
parent 5d0a8965
......@@ -193,7 +193,7 @@ pcibios_align_resource(void *data, struct resource *res,
#undef MB
#undef GB
void __init
static void __init
pcibios_init(void)
{
if (!alpha_mv.init_pci)
......@@ -201,6 +201,8 @@ pcibios_init(void)
alpha_mv.init_pci();
}
subsys_initcall(pcibios_init);
char * __init
pcibios_setup(char *str)
{
......
......@@ -9,6 +9,8 @@
* Copyright 1997 -- 2000 Martin Mares <mj@ucw.cz>
*/
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/spinlock.h>
......
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/module.h>
/*
......
......@@ -2,7 +2,9 @@
* probe.c - PCI detection and setup code
*/
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/module.h>
#undef DEBUG
......
......@@ -6,6 +6,7 @@
* Copyright (c) 1997--1999 Martin Mares <mj@ucw.cz>
*/
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment