summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/bge/bge_lint.c
diff options
context:
space:
mode:
authorDavid Gwynne <david@gwynne.id.au>2015-01-30 02:08:46 +0000
committerRobert Mustacchi <rm@joyent.com>2015-03-12 10:10:40 -0700
commit087a28d18c24cf4938e8a2617b5127a2fd29ddf4 (patch)
tree3538f594779423e38e4a5159c404dc898b4bab8d /usr/src/uts/common/io/bge/bge_lint.c
parentfc01d378bd20b13dcb27185d874fc628d851b161 (diff)
downloadillumos-gate-087a28d18c24cf4938e8a2617b5127a2fd29ddf4.tar.gz
3446 Update bge to support missing 57xx/577xx devices
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/uts/common/io/bge/bge_lint.c')
-rw-r--r--usr/src/uts/common/io/bge/bge_lint.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/usr/src/uts/common/io/bge/bge_lint.c b/usr/src/uts/common/io/bge/bge_lint.c
new file mode 100644
index 0000000000..2f51987068
--- /dev/null
+++ b/usr/src/uts/common/io/bge/bge_lint.c
@@ -0,0 +1,18 @@
+/*
+ * This file and its contents are supplied under the terms of the
+ * Common Development and Distribution License ("CDDL"), version 1.0.
+ * You may only use this file in accordance with the terms of version
+ * 1.0 of the CDDL.
+ *
+ * A full copy of the text of the CDDL should have accompanied this
+ * source. A copy of the CDDL is also available via the Internet at
+ * http://www.illumos.org/license/CDDL.
+ */
+
+/*
+ * This is a dummy lint file to pacify lint for bge, which due to its upstream,
+ * makes it, unfortunately, not realistic to lint. We have a dummy definition to
+ * ensure that we don't trigger lint's empty translation unit.
+ */
+
+extern int bge_lint;