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/dist/drm Ifdef out apparently...



details:   https://anonhg.NetBSD.org/src/rev/2a94d1f60db0
branches:  riastradh-drm2
changeset: 788249:2a94d1f60db0
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 02:54:53 2013 +0000

description:
Ifdef out apparently unused drm_mode_validate_clocks in drm_modes.c.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_modes.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r a0524799ae61 -r 2a94d1f60db0 sys/external/bsd/drm2/dist/drm/drm_modes.c
--- a/sys/external/bsd/drm2/dist/drm/drm_modes.c        Wed Jul 24 02:54:38 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_modes.c        Wed Jul 24 02:54:53 2013 +0000
@@ -829,6 +829,8 @@
 }
 EXPORT_SYMBOL(drm_mode_validate_size);
 
+#ifndef __NetBSD__
+
 /**
  * drm_mode_validate_clocks - validate modes against clock limits
  * @dev: DRM device
@@ -866,6 +868,8 @@
 }
 EXPORT_SYMBOL(drm_mode_validate_clocks);
 
+#endif /* !defined(__NetBSD__) */
+
 /**
  * drm_mode_prune_invalid - remove invalid modes from mode list
  * @dev: DRM device



Home | Main Index | Thread Index | Old Index