summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2003-06-06 23:40:07 +0000
committergibbs <gibbs@FreeBSD.org>2003-06-06 23:40:07 +0000
commitc1ea388b6d86e92ce2675f778a3c884e61fa695b (patch)
tree5cd88be8593cf7b998c5c4a2be6e12752de61f1b
parentef38b07248783ecef8a067426cd784c9582722f3 (diff)
downloadFreeBSD-src-c1ea388b6d86e92ce2675f778a3c884e61fa695b.zip
FreeBSD-src-c1ea388b6d86e92ce2675f778a3c884e61fa695b.tar.gz
Constify a string used in our EISA probe tables.
Fix a few style nits.
-rw-r--r--sys/dev/aic7xxx/aic7xxx.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx.h b/sys/dev/aic7xxx/aic7xxx.h
index 13dd811..9731add 100644
--- a/sys/dev/aic7xxx/aic7xxx.h
+++ b/sys/dev/aic7xxx/aic7xxx.h
@@ -37,7 +37,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.h#77 $
+ * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.h#78 $
*
* $FreeBSD$
*/
@@ -1143,17 +1143,17 @@ struct ahc_pci_identity {
char *name;
ahc_device_setup_t *setup;
};
-extern struct ahc_pci_identity ahc_pci_ident_table [];
+extern struct ahc_pci_identity ahc_pci_ident_table[];
extern const u_int ahc_num_pci_devs;
/***************************** VL/EISA Declarations ***************************/
struct aic7770_identity {
uint32_t full_id;
uint32_t id_mask;
- char *name;
+ const char *name;
ahc_device_setup_t *setup;
};
-extern struct aic7770_identity aic7770_ident_table [];
+extern struct aic7770_identity aic7770_ident_table[];
extern const int ahc_num_aic7770_devs;
#define AHC_EISA_SLOT_OFFSET 0xc00
OpenPOWER on IntegriCloud