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/dist/include/drm/ttm Move #endif earli...



details:   https://anonhg.NetBSD.org/src/rev/e883c59498e1
branches:  trunk
changeset: 1028089:e883c59498e1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:49:36 2021 +0000

description:
Move #endif earlier to avoid excluding useful prototypes.

diffstat:

 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_api.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 8008217084cf -r e883c59498e1 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_api.h
--- a/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_api.h   Sun Dec 19 01:49:28 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_api.h   Sun Dec 19 01:49:36 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttm_bo_api.h,v 1.5 2021/12/18 23:45:46 riastradh Exp $ */
+/*     $NetBSD: ttm_bo_api.h,v 1.6 2021/12/19 01:49:36 riastradh Exp $ */
 
 /**************************************************************************
  *
@@ -719,12 +719,12 @@
 int ttm_bo_mmap(struct file *filp, struct vm_area_struct *vma,
                struct ttm_bo_device *bdev);
 
+#endif /* __NetBSD__ */
+
 void *ttm_kmap_atomic_prot(struct page *page, pgprot_t prot);
 
 void ttm_kunmap_atomic_prot(void *addr, pgprot_t prot);
 
-#endif /* __NetBSD__ */
-
 /**
  * ttm_bo_io
  *



Home | Main Index | Thread Index | Old Index