Make the device name in an isa_device a const char * instead of a char *

to silence cast-qual warnings.
This commit is contained in:
John Baldwin 2001-01-24 00:05:13 +00:00
parent 401cee34d4
commit 92ad4dfbd1

View File

@ -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 */
};