Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux Define __MODULE_STRING.



details:   https://anonhg.NetBSD.org/src/rev/4dc814f97a04
branches:  trunk
changeset: 1027878:4dc814f97a04
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:03:05 2021 +0000

description:
Define __MODULE_STRING.

diffstat:

 sys/external/bsd/drm2/include/linux/module.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 5c2931d62559 -r 4dc814f97a04 sys/external/bsd/drm2/include/linux/module.h
--- a/sys/external/bsd/drm2/include/linux/module.h      Sun Dec 19 01:02:54 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/module.h      Sun Dec 19 01:03:05 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: module.h,v 1.7 2018/08/27 15:22:54 riastradh Exp $     */
+/*     $NetBSD: module.h,v 1.8 2021/12/19 01:03:05 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -35,6 +35,8 @@
 /* XXX Get this first so we don't nuke the module_init declaration.  */
 #include <sys/module.h>
 
+#include <sys/cdefs.h>
+
 #include <linux/export.h>
 #include <linux/moduleparam.h>
 
@@ -61,4 +63,6 @@
 #define        THIS_MODULE     0
 #define        KBUILD_MODNAME  __file__
 
+#define        __MODULE_STRING(x)      __STRING(x)
+
 #endif  /* _LINUX_MODULE_H_ */



Home | Main Index | Thread Index | Old Index