From: Benjamin Krill Date: Tue, 25 Aug 2009 13:52:41 +0000 (+0200) Subject: mtd: ofpart: Check availability of reg property instead of name property X-Git-Tag: v2.6.32-rc1~160^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd5a74db74ee2db833d43ea35108a4be9cab42f;p=pandora-kernel.git mtd: ofpart: Check availability of reg property instead of name property The previous implementation breaks the dts binding "mtd-physmap.txt". This implementation fixes the issue by checking the availability of the reg property instead of the name property. Cc: stable@kernel.org Signed-off-by: Benjamin Krill Signed-off-by: David Woodhouse --- Reading git-diff-tree failed