diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-24 00:05:13 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-24 00:05:13 +0000 |
commit | b5d0418fc1e94ea9baa7b6ebb9ee8bfe9c277ae9 (patch) | |
tree | 030e45eba3371fa33c3660c5bdb884bfce016ecc /sys/i386 | |
parent | a98f3e67f7ed013a638a049f1240540c2bf94015 (diff) | |
download | FreeBSD-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/i386')
-rw-r--r-- | sys/i386/isa/isa_device.h | 2 |
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 */ }; |