Files
pmaports-rtwo/device/archived/linux-essential-mata/f_fs_module_inittest.patch
T
Aster Boese 1d0189e5b4 essential-mata: move to archived
The kernel is very broken and does not compile, event with
multiple rounds of patching. As I am not the maintainer,
the amount of patching is getting invasive enough that I
cannot be sure that the kernel will still run, even if
somebody is able to get it compiled.

[ci:skip-vercheck]

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9057>
2026-08-05 11:15:34 +00:00

22 lines
577 B
Diff

Remove f_fsmodule implementation which causes kernel build to fail.
diff --git a/drivers/usb/gadget/function/f_fs.c b/drivers/usb/gadget/function/f_fs.c
index d7304ad18c2a..659d813ddd21 100644
--- a/drivers/usb/gadget/function/f_fs.c
+++ b/drivers/usb/gadget/function/f_fs.c
@@ -4309,7 +4309,6 @@ static int ffs_init(void)
return 0;
}
-module_init(ffs_init);
static void __exit ffs_exit(void)
{
@@ -4332,7 +4331,6 @@ static void __exit ffs_exit(void)
ffs_ipc_log = NULL;
}
}
-module_exit(ffs_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Michal Nazarewicz");