diff options
-rw-r--r-- | sys/dev/bktr/bktr_core.c | 7 | ||||
-rw-r--r-- | sys/pci/brooktree848.c | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/sys/dev/bktr/bktr_core.c b/sys/dev/bktr/bktr_core.c index 3f0700b..6c5d016 100644 --- a/sys/dev/bktr/bktr_core.c +++ b/sys/dev/bktr/bktr_core.c @@ -222,6 +222,7 @@ #ifdef __FreeBSD__ #include "bktr.h" +#include "opt_devfs.h" #include "pci.h" #endif /* __FreeBSD__ */ @@ -656,8 +657,6 @@ static u_long status_sum = 0; /* * misc. support routines. */ -static const struct CARDTYPE cards[]; -static const struct TUNER tuners[]; static int signCard( bktr_ptr_t bktr, int offset, int count, u_char* sig ); static void probeCard( bktr_ptr_t bktr, int verbose ); @@ -3748,7 +3747,7 @@ readEEProm( bktr_ptr_t bktr, int offset, int count, u_char *data ) * Note: * these entried MUST be kept in the order defined by the CARD_XXX defines! */ -const struct CARDTYPE cards[] = { +static const struct CARDTYPE cards[] = { /* CARD_UNKNOWN */ { "Unknown", /* the 'name' */ @@ -3841,7 +3840,7 @@ struct TUNER { u_char bandAddrs[ 3 ]; }; */ -const struct TUNER tuners[] = { +static const struct TUNER tuners[] = { /* XXX FIXME: fill in the band-switch crosspoints */ /* NO_TUNER */ { "<none>", /* the 'name' */ diff --git a/sys/pci/brooktree848.c b/sys/pci/brooktree848.c index 3f0700b..6c5d016 100644 --- a/sys/pci/brooktree848.c +++ b/sys/pci/brooktree848.c @@ -222,6 +222,7 @@ #ifdef __FreeBSD__ #include "bktr.h" +#include "opt_devfs.h" #include "pci.h" #endif /* __FreeBSD__ */ @@ -656,8 +657,6 @@ static u_long status_sum = 0; /* * misc. support routines. */ -static const struct CARDTYPE cards[]; -static const struct TUNER tuners[]; static int signCard( bktr_ptr_t bktr, int offset, int count, u_char* sig ); static void probeCard( bktr_ptr_t bktr, int verbose ); @@ -3748,7 +3747,7 @@ readEEProm( bktr_ptr_t bktr, int offset, int count, u_char *data ) * Note: * these entried MUST be kept in the order defined by the CARD_XXX defines! */ -const struct CARDTYPE cards[] = { +static const struct CARDTYPE cards[] = { /* CARD_UNKNOWN */ { "Unknown", /* the 'name' */ @@ -3841,7 +3840,7 @@ struct TUNER { u_char bandAddrs[ 3 ]; }; */ -const struct TUNER tuners[] = { +static const struct TUNER tuners[] = { /* XXX FIXME: fill in the band-switch crosspoints */ /* NO_TUNER */ { "<none>", /* the 'name' */ |