From 20e05070daa659b5f4de0560e8016eec25eaf2cb Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 24 Jan 2001 00:05:13 +0000 Subject: [PATCH] Make the device name in an isa_device a const char * instead of a char * to silence cast-qual warnings. --- sys/i386/isa/isa_device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/isa/isa_device.h b/sys/i386/isa/isa_device.h index bdc16dae3db9..42fab2b91762 100644 --- a/sys/i386/isa/isa_device.h +++ b/sys/i386/isa/isa_device.h @@ -85,7 +85,7 @@ struct isa_driver { /* test whether device is present */ int (*attach)(struct isa_device *idp); /* setup driver for a device */ - char *name; /* device name */ + const char *name; /* device name */ int sensitive_hw; /* true if other probes confuse us */ };