[SPARC]: Handle unresolvable resources better in of_device.c
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 2 Mar 2007 02:08:05 +0000 (18:08 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 2 Mar 2007 23:22:50 +0000 (15:22 -0800)
commit45bcca67ed6437815305fdef38f441358b6a7756
treede80e6e5d00c547279c5378d2c3e68bf8c1bec6f
parentb85cdd490ac52ee039636f809b9b98b1300fcf3d
[SPARC]: Handle unresolvable resources better in of_device.c

Just leave them as zero if we couldn't calculate it.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/of_device.c
arch/sparc64/kernel/of_device.c