]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
x86: ce4100: Set pci ops via callback instead of module init
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 14 Mar 2011 09:33:40 +0000 (10:33 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 14 Mar 2011 14:13:23 +0000 (15:13 +0100)
commit03150171dcf9492a96f57cbb2aef088bafcfcd2e
treef6efdc23e55946dac61a4470ee34696ebec3aa3a
parenta79e53d85683c6dd9f99c90511028adc2043031f
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>
arch/x86/include/asm/ce4100.h [new file with mode: 0644]
arch/x86/pci/ce4100.c
arch/x86/platform/ce4100/ce4100.c