svn commit: r257034 - head/sys/dev/iwn
Adrian Chadd
adrian at FreeBSD.org
Thu Oct 24 01:02:55 UTC 2013
Author: adrian
Date: Thu Oct 24 01:02:54 2013
New Revision: 257034
URL: http://svnweb.freebsd.org/changeset/base/257034
Log:
Add #ifdef wrapper around definitions so they aren't included multiple
times.
Modified:
head/sys/dev/iwn/if_iwnreg.h
Modified: head/sys/dev/iwn/if_iwnreg.h
==============================================================================
--- head/sys/dev/iwn/if_iwnreg.h Thu Oct 24 01:02:39 2013 (r257033)
+++ head/sys/dev/iwn/if_iwnreg.h Thu Oct 24 01:02:54 2013 (r257034)
@@ -17,6 +17,8 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef __IF_IWNREG_H__
+#define __IF_IWNREG_H__
#define IWN_CT_KILL_THRESHOLD 114 /* in Celsius */
#define IWN_CT_KILL_EXIT_THRESHOLD 95 /* in Celsius */
@@ -2052,3 +2054,5 @@ static const char * const iwn_fw_errmsg[
#define IWN_BARRIER_READ_WRITE(sc) \
bus_space_barrier((sc)->sc_st, (sc)->sc_sh, 0, (sc)->sc_sz, \
BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE)
+
+#endif /* __IF_IWNREG_H__ */
More information about the svn-src-all
mailing list