Re: [PATCH] mtd: concat: include <linux/mtd/mtd.h>
From: Miquel Raynal
Date: Fri Dec 04 2026 - 16:50:24 EST
On Sun, 29 Nov 2026 22:22:42 +0100, Julius Bairaktaris wrote:
> Since commit 59509da0cb51 ("mtd: Move struct mtd_concat definition to
> header file"), <linux/mtd/concat.h> embeds a struct mtd_info in struct
> mtd_concat, and its declarations use bool, but the header includes
> nothing. It builds only after <linux/mtd/mtd.h> has been included; a
> file that includes concat.h first fails with
>
> include/linux/mtd/concat.h:19:25: error: field 'mtd' has incomplete type
>
> [...]
Applied to mtd/next, thanks!
[1/1] mtd: concat: include <linux/mtd/mtd.h>
commit: 3461745d980035ab8f93d2aefafb4af942ac51c5
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl