summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-12-14 05:47:29 +0000
committerdillon <dillon@FreeBSD.org>1998-12-14 05:47:29 +0000
commit5e557fc6bd95db1b1db3232e918d1477b60ea15d (patch)
tree0b23397a63155d259042171997a0d2a53e18851d /sys/dev/aic7xxx
parent6d407291a85c950fa545a5200d6a66fb4748d70c (diff)
downloadFreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.zip
FreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.tar.gz
pci_device pd_probe function changed from returning char * to returning
const char *. Originally I was going to add casts from const char * to char * in some of the pci device drivers, but the reality is that the pci device probes return constant quoted strings.
Diffstat (limited to 'sys/dev/aic7xxx')
-rw-r--r--sys/dev/aic7xxx/ahc_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/aic7xxx/ahc_pci.c b/sys/dev/aic7xxx/ahc_pci.c
index 6c26c09..fb53e9d 100644
--- a/sys/dev/aic7xxx/ahc_pci.c
+++ b/sys/dev/aic7xxx/ahc_pci.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ahc_pci.c,v 1.2 1998/10/07 03:40:51 gibbs Exp $
+ * $Id: ahc_pci.c,v 1.3 1998/12/07 21:58:45 archie Exp $
*/
#include <pci.h>
@@ -138,7 +138,7 @@ static u_int8_t read_brdctl(struct ahc_softc *ahc);
static struct ahc_softc *first_398X;
-static char* ahc_pci_probe(pcici_t tag, pcidi_t type);
+static const char* ahc_pci_probe(pcici_t tag, pcidi_t type);
static void ahc_pci_attach(pcici_t config_id, int unit);
/* Exported for use in the ahc_intr routine */
@@ -154,7 +154,7 @@ static struct pci_device ahc_pci_driver = {
DATA_SET (pcidevice_set, ahc_pci_driver);
-static char*
+static const char*
ahc_pci_probe (pcici_t tag, pcidi_t type)
{
switch (type) {
OpenPOWER on IntegriCloud