Skip to content
Commit 1668d644 authored by Heiko Schocher's avatar Heiko Schocher Committed by Anatolij Gustschin
Browse files

mtdparts: fix usecount bug



add missing put_mtd_device, so mtd->usecount gets correct
decremented in get_mtd_info().

Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Tom Rini <trini@ti.com>
parent 412921d2
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