x86/platform/intel-mid: Move PCI initialization to arch_init()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 17 Jan 2018 17:34:08 +0000 (19:34 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 19 Jan 2018 08:15:42 +0000 (09:15 +0100)
commita912a7584ec39647fb032c1001eb69746f27b1d3
tree0d0edb9df1358c071a02c0e0e4ef506b78b0a69f
parent1da2fd61d956a01ead87173a8367e5c664617f7b
x86/platform/intel-mid: Move PCI initialization to arch_init()

ACPI redefines x86_init.pci.init when enabled. Though we still need special
treatment for MID platforms.

Move our specific callback to x86_init.pci.arch_init() and, by calling
acpi_noirq_set(), take back a control over IRQ assignment.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-acpi@vger.kernel.org
Link: http://lkml.kernel.org/r/20180117173409.88136-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/pci/intel_mid_pci.c
arch/x86/platform/intel-mid/intel-mid.c