summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-01-24 00:05:13 +0000
committerjhb <jhb@FreeBSD.org>2001-01-24 00:05:13 +0000
commitb5d0418fc1e94ea9baa7b6ebb9ee8bfe9c277ae9 (patch)
tree030e45eba3371fa33c3660c5bdb884bfce016ecc /sys
parenta98f3e67f7ed013a638a049f1240540c2bf94015 (diff)
downloadFreeBSD-src-b5d0418fc1e94ea9baa7b6ebb9ee8bfe9c277ae9.zip
FreeBSD-src-b5d0418fc1e94ea9baa7b6ebb9ee8bfe9c277ae9.tar.gz
Make the device name in an isa_device a const char * instead of a char *
to silence cast-qual warnings.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/isa_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/isa_device.h b/sys/i386/isa/isa_device.h
index bdc16da..42fab2b 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 */
};
OpenPOWER on IntegriCloud