Move "opt_slhci.h" from .h to .c

to avoid link error (multiple definition of _KERNEL_OPT_foo).
This commit is contained in:
isaki 2010-05-08 01:33:00 +00:00
parent 651dd2889a
commit d4edb08e10
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sl811hs.c,v 1.25 2009/11/25 14:28:50 rmind Exp $ */
/* $NetBSD: sl811hs.c,v 1.26 2010/05/08 01:33:00 isaki Exp $ */
/*
* Not (c) 2007 Matthew Orgass
@ -84,7 +84,9 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.25 2009/11/25 14:28:50 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.26 2010/05/08 01:33:00 isaki Exp $");
#include "opt_slhci.h"
#include <sys/cdefs.h>
#include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sl811hsvar.h,v 1.6 2009/05/12 14:25:18 cegger Exp $ */
/* $NetBSD: sl811hsvar.h,v 1.7 2010/05/08 01:33:00 isaki Exp $ */
/*
* Not (c) 2007 Matthew Orgass
@ -15,7 +15,6 @@
#include <sys/gcq.h>
#include <sys/simplelock.h>
#include "opt_slhci.h"
#define SC_DEV(sc) ((sc)->sc_dev)
#define SC_NAME(sc) (device_xname(SC_DEV(sc)))