[POWERPC] Fix OF pci flags parsing
authorOlof Johansson <olof@lixom.net>
Tue, 28 Nov 2006 03:21:29 +0000 (21:21 -0600)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:41:49 +0000 (20:41 +1100)
commit4468f01dc7cfd1998845cd66a0cdb1f3ef9740f0
treef931cb8cfc84b894063e4bc604efa1eacc1b79ee
parentede8edb35b95c78c890b15fdb6cedcb3f42f4769
[POWERPC] Fix OF pci flags parsing

For PCI devices with only io ports, of_bus_pci_get_flags() will fall
through and still mark the resource as IORESOURCE_MEM.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_parse.c