Wed Jul 24 03:03:50 2013 UTC ()
Add THIS_MODULE (expanding to 0) to <linux/module.h>.


(riastradh)
diff -r1.1.2.3 -r1.1.2.4 src/sys/external/bsd/drm2/include/linux/module.h

cvs diff -r1.1.2.3 -r1.1.2.4 src/sys/external/bsd/drm2/include/linux/module.h (expand / switch to unified diff)

--- src/sys/external/bsd/drm2/include/linux/module.h 2013/07/24 02:36:46 1.1.2.3
+++ src/sys/external/bsd/drm2/include/linux/module.h 2013/07/24 03:03:50 1.1.2.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: module.h,v 1.1.2.3 2013/07/24 02:36:46 riastradh Exp $ */ 1/* $NetBSD: module.h,v 1.1.2.4 2013/07/24 03:03:50 riastradh Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2013 The NetBSD Foundation, Inc. 4 * Copyright (c) 2013 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Taylor R. Campbell. 8 * by Taylor R. Campbell.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -30,14 +30,16 @@ @@ -30,14 +30,16 @@
30 */ 30 */
31 31
32#ifndef _LINUX_MODULE_H_ 32#ifndef _LINUX_MODULE_H_
33#define _LINUX_MODULE_H_ 33#define _LINUX_MODULE_H_
34 34
35#define module_init(INIT) 35#define module_init(INIT)
36#define module_exit(EXIT) 36#define module_exit(EXIT)
37 37
38#define MODULE_AUTHOR(AUTHOR) 38#define MODULE_AUTHOR(AUTHOR)
39#define MODULE_DESCRIPTION(DESCRIPTION) 39#define MODULE_DESCRIPTION(DESCRIPTION)
40#define MODULE_LICENSE(LICENSE) 40#define MODULE_LICENSE(LICENSE)
41#define MODULE_PARM_DESC(PARAMETER, DESCRIPTION) 41#define MODULE_PARM_DESC(PARAMETER, DESCRIPTION)
42 42
 43#define THIS_MODULE 0
 44
43#endif /* _LINUX_MODULE_H_ */ 45#endif /* _LINUX_MODULE_H_ */