Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a1ff7d64 authored by Hauke Mehrtens's avatar Hauke Mehrtens Committed by Brian Norris
Browse files

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: default avatarHauke Mehrtens <hauke@hauke-m.de>
[Brian: rewrapped]
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent b85b8d92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment