constify and make it static.

This commit is contained in:
yamt 2002-06-08 16:44:14 +00:00
parent a3da5d94f3
commit 71f556f70f
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ofrom.c,v 1.3 2002/03/24 03:37:26 thorpej Exp $ */
/* $NetBSD: ofrom.c,v 1.4 2002/06/08 16:44:14 yamt Exp $ */
/*
* Copyright 1998
@ -73,7 +73,7 @@ ofromprobe(parent, cf, aux)
void *aux;
{
struct ofbus_attach_args *oba = aux;
const char *compatible_strings[] = { "rom", NULL };
static const char *const compatible_strings[] = { "rom", NULL };
return (of_compatible(oba->oba_phandle, compatible_strings) == -1) ?
0 : 5;