ata: Make pata_of_platform.c compile again and work on non-PPC platforms
authorPawel Moll <pawel.moll@arm.com>
Wed, 7 Sep 2011 12:36:26 +0000 (13:36 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 8 Oct 2011 04:07:16 +0000 (00:07 -0400)
commit37210fbe1ddcd91b0331877fae81645978b5c3b1
treebc8aa82fe246f253b256602182ce587aa6349801
parentedc7d12ede4333a1fd7b59cebae970b4953ec9d0
ata: Make pata_of_platform.c compile again and work on non-PPC platforms

This patch adds missing #includes, makes the driver selectable on
non-PPC OF-enabled platforms and fixes property value accesses to
be correct in Little Endian system.

Cc: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/Kconfig
drivers/ata/pata_of_platform.c