Source-Changes-HG archive

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

[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Add dev_warn (=...



details:   https://anonhg.NetBSD.org/src/rev/46b34bdc7d54
branches:  riastradh-drm2
changeset: 788259:46b34bdc7d54
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 02:57:38 2013 +0000

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

diffstat:

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

diffs (19 lines):

diff -r b64e854415bc -r 46b34bdc7d54 sys/external/bsd/drm2/include/linux/device.h
--- a/sys/external/bsd/drm2/include/linux/device.h      Wed Jul 24 02:57:23 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/device.h      Wed Jul 24 02:57:38 2013 +0000
@@ -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_ */



Home | Main Index | Thread Index | Old Index