of: Fix endless loop in of_add_memory
of_add_memory is stuck in an endless loop when a memory bank with zero
size is passed. Fix this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 804fd9a commit e60778e041eca978e7d859bb79198f1e3b54480d
@Sascha Hauer Sascha Hauer authored on 14 Aug 2013
Showing 1 changed file
View
drivers/of/base.c