From: Hauke Mehrtens Date: Sun, 21 Sep 2014 22:33:13 +0000 (+0200) Subject: mtd: bcm47xxpart: only register partitions if the trx header was filled X-Git-Tag: omap-for-v3.19/fixes-rc1~56^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1ff7d64c5361c15bac653708a679de13506d283;p=pandora-kernel.git mtd: bcm47xxpart: only register partitions if the trx header was filled Sometimes the trx offsets are 0, in that case there is no partition and we should not try to add one. Signed-off-by: Hauke Mehrtens [Brian: rewrapped] Signed-off-by: Brian Norris --- Reading git-diff-tree failed