Module Name: src
Committed By: riastradh
Date: Sun Dec 19 11:11:42 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/dist/drm/i915: i915_drv.h
Log Message:
Our __always_inline doesn't make the function inline.
Avoid compiler warnings about the function being defined but not used
Author: Maya Rashish <[email protected]>
Committer: Taylor R Campbell <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h
diff -u src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h:1.37 src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h:1.38
--- src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h:1.37 Sun Dec 19 11:04:21 2021
+++ src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h Sun Dec 19 11:11:42 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: i915_drv.h,v 1.37 2021/12/19 11:04:21 riastradh Exp $ */
+/* $NetBSD: i915_drv.h,v 1.38 2021/12/19 11:11:42 riastradh Exp $ */
/* i915_drv.h -- Private header for the I915 driver -*- linux-c -*-
*/
@@ -1484,7 +1484,7 @@ IS_PLATFORM(const struct drm_i915_privat
return info->platform_mask[pi] & BIT(pb);
}
-static __always_inline bool
+static __always_inline inline bool
IS_SUBPLATFORM(const struct drm_i915_private *i915,
enum intel_platform p, unsigned int s)
{