mfd: lpc_ich: Fix resource request for [mem 0x00000000]
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 21 Nov 2012 16:30:50 +0000 (17:30 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 21 Nov 2012 16:31:20 +0000 (17:31 +0100)
commite294bc91760e11d2f1ebbac1d0a979069edf7adb
tree279a8a95fb56cc8f230ebab079c1e7a07dba23ab
parentd640e757949e2991215838c0edbfd6afc37e5b06
mfd: lpc_ich: Fix resource request for [mem 0x00000000]

The older southbridges supported by the lpc_ich driver do not
provide memory-mapped space of the root complex. The driver
correctly avoids computing the iomem address in this case, yet
submits a zeroed resource request anyway (via mfd_add_devices()).

Remove the iomem resource from the resource array submitted to the
mfd core for the older southbridges.

Acked-by: Aaron Sierra <asierra@xes-inc.com>
Cc: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/lpc_ich.c