]> git.ipfire.org Git - thirdparty/openwrt.git/commit
generic: mtdsplit: include appropriate header for kernel 6.12
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Tue, 15 Apr 2025 18:03:04 +0000 (20:03 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 30 Apr 2025 14:26:46 +0000 (16:26 +0200)
commitef590451a3ad1bb0f2ff302a9cc257aeb8640910
tree2db078d0604828b117d0a951869088833ae4e7e5
parentdfe93dddfdc97291a60f38c677bd2a38e72b0edc
generic: mtdsplit: include appropriate header for kernel 6.12

In kernel 6.12 asm/unaligned.h was moved to linux/unaligned.h[1]
The patch points to the appropriate header depending on the kernel version.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=5f60d5f6bbc12e782fac78110b0ee62698f3b576

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_lzma.c