-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/amdkcl: fake macro MODULE_IMPORT_NS for legacy os
Signed-off-by: Leslie Shi <Yuliang.Shi@amd.com>
- Loading branch information
1 parent
db1a7ee
commit d30c224
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* SPDX-License-Identifier: GPL-2.0-only */ | ||
/* | ||
* Dynamic loading of modules into the kernel. | ||
* | ||
* Rewritten by Richard Henderson <rth@tamu.edu> Dec 1996 | ||
* Rewritten again by Rusty Russell, 2002 | ||
*/ | ||
#ifndef _KCL_KCL_LINUX_MODULE_H_H | ||
#define _KCL_KCL_LINUX_MODULE_H_H | ||
|
||
#include <linux/module.h> | ||
|
||
/* Copied from v5.3-11739-g3e4d890a26d5 include/linux/module.h */ | ||
#ifndef MODULE_IMPORT_NS | ||
#define MODULE_IMPORT_NS(ns) MODULE_INFO(import_ns, #ns) | ||
#endif | ||
|
||
#endif |