Skip to content
Snippets Groups Projects
Commit d9f1bc37 authored by David Bauer's avatar David Bauer Committed by Rosen Penev
Browse files

mtd-rw: fix build failure with kernel 5.10


When building mtd-rw for a target based on Kernel 5.10 which has
CONFIG_MTD disabled the build fails with

ERROR: "put_mtd_device" [../mtd-rw.ko] undefined!
ERROR: "get_mtd_device" [../mtd-rw.ko] undefined!

Omit building the package for such a target.

Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
(cherry picked from commit c6b3d949)
parent 3a3b7c6e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment