[Intel-gfx] [PATCH 26/28] lib: Use @include tag for include files

Daniel Vetter daniel.vetter at ffwll.ch
Sun Mar 23 15:19:00 CET 2014


Occasionally useful to read documentation ...

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 lib/igt_aux.c           | 1 +
 lib/igt_core.c          | 3 +--
 lib/igt_debugfs.c       | 3 +--
 lib/intel_batchbuffer.c | 3 +--
 lib/intel_chipset.c     | 3 +--
 lib/intel_mmio.c        | 3 +--
 lib/ioctl_wrappers.c    | 3 +--
 7 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/lib/igt_aux.c b/lib/igt_aux.c
index 00a719c2563f..ec3bd187344a 100644
--- a/lib/igt_aux.c
+++ b/lib/igt_aux.c
@@ -63,6 +63,7 @@
  * SECTION:igt_aux
  * @short_description: Auxiliary libararies and support functions
  * @title: i-g-t aux
+ * @include: igt_aux.h
  *
  * > #include "igt_aux.h"
  *
diff --git a/lib/igt_core.c b/lib/igt_core.c
index 2fe74f5a23d6..cf445efa51a5 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -64,8 +64,7 @@
  * SECTION:igt_core
  * @short_description: Core i-g-t testing support
  * @title: i-g-t core
- *
- * > #include "igt_core.h"
+ * @include: igt_core.h
  *
  * This libary implements the core of the i-g-t test support infrastructure.
  * Main features are the subtest enumeration, cmdline option parsing helpers for
diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c
index 96adf396887b..e04f8c5b9837 100644
--- a/lib/igt_debugfs.c
+++ b/lib/igt_debugfs.c
@@ -40,8 +40,7 @@
  * SECTION:igt_debugfs
  * @short_description: Support code for debugfs features
  * @title: i-g-t debugfs
- *
- * > #include "igt_debugfs.h"
+ * @include: igt_debugfs.h
  *
  * This library provides helpers to access debugfs features. On top of some
  * basic functions to access debugfs files with e.g. igt_debugfs_open() it also
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 7852c7ca750f..329239464678 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -45,8 +45,7 @@
  * SECTION:intel_batchbuffer
  * @short_description: Batchbuffer and blitter support
  * @title: intel batchbuffer
- *
- * > #include "intel_batchbuffer.h"
+ * @include: intel_batchbuffer.h
  *
  * This library provides some basic support for batchbuffers and using the
  * blitter engine based upon libdrm. A new batchbuffer is allocated with
diff --git a/lib/intel_chipset.c b/lib/intel_chipset.c
index b117e3be2753..eeafa314d6ee 100644
--- a/lib/intel_chipset.c
+++ b/lib/intel_chipset.c
@@ -44,8 +44,7 @@
  * SECTION:intel_chipset
  * @short_description: Feature macros and chipset helpers
  * @title: intel chipset
- *
- * > #include "intel_chipset.h"
+ * @include: intel_chipset.h
  *
  * This library mostly provides feature macros which use raw pci device ids. It
  * also provides a few more helper functions to handle pci devices, chipset
diff --git a/lib/intel_mmio.c b/lib/intel_mmio.c
index 6666b9e75b12..45f39a46aff9 100644
--- a/lib/intel_mmio.c
+++ b/lib/intel_mmio.c
@@ -49,8 +49,7 @@
  * SECTION:intel_io
  * @short_description: Register access and sideband I/O libraray
  * @title: intel io
- *
- * > #include "intel_io.h"
+ * @include: intel_io.h
  *
  * This library provides register I/O helpers in both a basic version and a more
  * fancy version which also handles forcewak and can optionally check registers
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index 24185491d4b6..df67b3747ba3 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -63,8 +63,7 @@
  * SECTION:ioctl_wrappers
  * @short_description: ioctl wrappers and related functions
  * @title: ioctl wrappers
- *
- * > #include "ioctl_wrappers.h"
+ * @include: ioctl_wrappers.h
  *
  * This helper library contains simple functions to wrap the raw drm/i915 kernel
  * ioctls. The normal versions never pass any error codes to the caller and use
-- 
1.8.5.2




More information about the Intel-gfx mailing list