Skip to content
Commit ebd5a74d authored by Benjamin Krill's avatar Benjamin Krill Committed by David Woodhouse
Browse files

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: default avatarBenjamin Krill <ben@codiert.org>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 9289d4ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment