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/drm Trivial build fix for no options S...
details: https://anonhg.NetBSD.org/src/rev/00ebcec426bb
branches: trunk
changeset: 333984:00ebcec426bb
user: prlw1 <prlw1%NetBSD.org@localhost>
date: Mon Nov 24 17:29:02 2014 +0000
description:
Trivial build fix for no options SYSCTL_INCLUDE_DESCR case, to
avoid -Werror.
OK christos@ and riastradh@
diffstat:
sys/external/bsd/drm2/drm/drm_sysctl.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r afc9cc5428a6 -r 00ebcec426bb sys/external/bsd/drm2/drm/drm_sysctl.c
--- a/sys/external/bsd/drm2/drm/drm_sysctl.c Mon Nov 24 15:43:21 2014 +0000
+++ b/sys/external/bsd/drm2/drm/drm_sysctl.c Mon Nov 24 17:29:02 2014 +0000
@@ -27,7 +27,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_sysctl.c,v 1.3 2014/11/12 04:53:13 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_sysctl.c,v 1.4 2014/11/24 17:29:02 prlw1 Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -40,6 +40,7 @@
#include <drm/drm_sysctl.h>
+#ifdef SYSCTL_INCLUDE_DESCR
static const char *
drm_sysctl_get_description(const struct linux_module_param_info *p,
const struct drm_sysctl_def *def)
@@ -53,6 +54,7 @@
}
return NULL;
}
+#endif
#ifdef notyet
static uint64_t
Home |
Main Index |
Thread Index |
Old Index