x86: OLPC: convert olpc-xo1 driver from pci device to platform device
authorAndres Salomon <dilinger@queued.net>
Mon, 29 Nov 2010 23:45:06 +0000 (15:45 -0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jan 2011 11:38:15 +0000 (12:38 +0100)
commit419cdc54ea597d307fade607a65e4885634eb8c8
treec41ee78ddde8d4de5839f0cee20f769be6f162af
parentcdd137c9c86c201ddb7f42ec978d2da45e7b7a17
x86: OLPC: convert olpc-xo1 driver from pci device to platform device

The cs5535-mfd driver now takes care of the PCI BAR handling; this
means the olpc-xo1 driver shouldn't be touching the PCI device at all.

This patch uses both cs5535-acpi and cs5535-pms platform devices rather
than a single platform device because the cs5535-mfd driver may be used
by other CS5535 platform-specific drivers; OLPC doesn't get to dictate
that ACPI and PMS will always be used together.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
arch/x86/Kconfig
arch/x86/platform/olpc/olpc-xo1.c