summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/ce4100.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2011-03-14 10:33:40 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-03-14 15:13:23 +0100
commit03150171dcf9492a96f57cbb2aef088bafcfcd2e (patch)
treef6efdc23e55946dac61a4470ee34696ebec3aa3a /arch/x86/include/asm/ce4100.h
parenta79e53d85683c6dd9f99c90511028adc2043031f (diff)
x86: ce4100: Set pci ops via callback instead of module init
Setting the pci ops on subsys initcall unconditionally will break multi platform kernels on anything except ce4100. Use x86_init.pci.init ops to call this only on real ce4100 platforms. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: sodaville@linutronix.de LKML-Reference: <20110314093340.GA21026@www.tglx.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm/ce4100.h')
-rw-r--r--arch/x86/include/asm/ce4100.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/ce4100.h b/arch/x86/include/asm/ce4100.h
new file mode 100644
index 000000000000..e656ad8c0a2e
--- /dev/null
+++ b/arch/x86/include/asm/ce4100.h
@@ -0,0 +1,6 @@
+#ifndef _ASM_CE4100_H_
+#define _ASM_CE4100_H_
+
+int ce4100_pci_init(void);
+
+#endif