Module Name:    src
Committed By:   riastradh
Date:           Wed Jul 24 02:57:38 UTC 2013

Modified Files:
        src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: device.h

Log Message:
Add dev_warn (= device_printf, for now) to <linux/device.h>.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
    src/sys/external/bsd/drm2/include/linux/device.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/include/linux/device.h
diff -u src/sys/external/bsd/drm2/include/linux/device.h:1.1.2.1 src/sys/external/bsd/drm2/include/linux/device.h:1.1.2.2
--- src/sys/external/bsd/drm2/include/linux/device.h:1.1.2.1	Wed Jul 24 00:33:12 2013
+++ src/sys/external/bsd/drm2/include/linux/device.h	Wed Jul 24 02:57:38 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: device.h,v 1.1.2.1 2013/07/24 00:33:12 riastradh Exp $	*/
+/*	$NetBSD: device.h,v 1.1.2.2 2013/07/24 02:57:38 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,4 +32,9 @@
 #ifndef _LINUX_DEVICE_H_
 #define _LINUX_DEVICE_H_
 
+#include <sys/types.h>
+#include <sys/systm.h>
+
+#define	dev_warn	device_printf
+
 #endif  /* _LINUX_DEVICE_H_ */

Reply via email to