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

Skip to content
Commit 552d9205 authored by David Woodhouse's avatar David Woodhouse
Browse files

[MTD] Fix module refcounting in NAND board drivers.



The _board_ driver needs to be mtd->owner, and it in turn pins the
nand.ko module. Fix them all to actually do that, and fix nand.ko not to
overwrite it -- and also to check that the caller sets it, if the caller
is a module.

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 4f678a58
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