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 Add bogus Linux platform...



details:   https://anonhg.NetBSD.org/src/rev/549a8ba74575
branches:  trunk
changeset: 331248:549a8ba74575
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Aug 06 13:52:22 2014 +0000

description:
Add bogus Linux platform_device stub.

diffstat:

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

diffs (20 lines):

diff -r e32c2ad7cf77 -r 549a8ba74575 sys/external/bsd/drm2/include/linux/platform_device.h
--- a/sys/external/bsd/drm2/include/linux/platform_device.h     Wed Aug 06 13:52:06 2014 +0000
+++ b/sys/external/bsd/drm2/include/linux/platform_device.h     Wed Aug 06 13:52:22 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: platform_device.h,v 1.2 2014/03/18 18:20:43 riastradh Exp $    */
+/*     $NetBSD: platform_device.h,v 1.3 2014/08/06 13:52:22 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,4 +32,10 @@
 #ifndef _LINUX_PLATFORM_DEVICE_H_
 #define _LINUX_PLATFORM_DEVICE_H_
 
+#include <sys/device.h>
+
+struct platform_device {
+       struct device   dev;    /* XXX DON'T BELIEVE ME */
+};
+
 #endif  /* _LINUX_PLATFORM_DEVICE_H_ */



Home | Main Index | Thread Index | Old Index