lede/target/linux/generic/backport-5.15/003-add-module_supported_device-macro.patch
aakkll c82ca10450
kernel: bump 5.15 to 5.15.27 (#9035)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-03-09 16:02:17 +08:00

22 lines
536 B
Diff

From 3ccdf969a87be79df3daa9fe2d42f68f90ab7774 Mon Sep 17 00:00:00 2001
From: W_Y_CPP <383152993@qq.com>
Date: Mon, 17 Jan 2022 21:34:38 +0900
Subject: [PATCH] add MODULE_SUPPORTED_DEVICE macro
---
include/linux/module.h | 3 +++
1 file changed, 3 insertions(+)
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -32,6 +32,9 @@
#include <linux/percpu.h>
#include <asm/module.h>
+/* Not Yet Implemented */
+#define MODULE_SUPPORTED_DEVICE(name)
+
#define MODULE_NAME_LEN MAX_PARAM_PREFIX_LEN
struct modversion_info {