[POWERPC] Make partitions optional in physmap_of
commit8d9ae994d8fce807fc90fb8e3b6ac8df1cc7dce6
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Fri, 14 Sep 2007 18:54:12 +0000 (15 04:54 +1000)
committerJosh Boyer <jwboyer@gmail.com>
Thu, 20 Sep 2007 02:13:16 +0000 (19 21:13 -0500)
treef2b46b7d8830e9802e80b5134e48e75eadecb455
parent658e81701970a82d33f46241f20be416ebd5e930
[POWERPC] Make partitions optional in physmap_of

The latest physmap_of driver has a small error where it will fail the probe
with:

physmap-flash: probe of fff00000.small-flas failed with error -2

if there are no partition subnodes in the device tree and the old style binding
is not used.  Since partition definitions are optional, the probe should still
succeed.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
drivers/mtd/maps/physmap_of.c