]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52e77e12b638607841379287afef415d26879083
treec41ee78ddde8d4de5839f0cee20f769be6f162af
parentcb9b122e07d8df8a08a2185de785eb0a1abf7519
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