summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/lvm/raid/raid.c
diff options
context:
space:
mode:
authorpetede <none@none>2006-02-01 07:47:13 -0800
committerpetede <none@none>2006-02-01 07:47:13 -0800
commit447e4a639cd3f814fbae624e7188d5adaa83f841 (patch)
tree2a3b3339788d4d095a8174e065430462bd28c4af /usr/src/uts/common/io/lvm/raid/raid.c
parent66c9f83d84f7bf332be455a4dfb4b1346faf2823 (diff)
downloadillumos-joyent-447e4a639cd3f814fbae624e7188d5adaa83f841.tar.gz
6376469 Drivers are declaring _depends_on incorrectly leading to venus optimizing it out
Diffstat (limited to 'usr/src/uts/common/io/lvm/raid/raid.c')
-rw-r--r--usr/src/uts/common/io/lvm/raid/raid.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/uts/common/io/lvm/raid/raid.c b/usr/src/uts/common/io/lvm/raid/raid.c
index 0fec16660d..e90c3d0e0c 100644
--- a/usr/src/uts/common/io/lvm/raid/raid.c
+++ b/usr/src/uts/common/io/lvm/raid/raid.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -77,7 +76,7 @@
md_ops_t raid_md_ops;
#ifndef lint
-static char _depends_on[] = "drv/md";
+char _depends_on[] = "drv/md";
md_ops_t *md_interface_ops = &raid_md_ops;
#endif /* lint */