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:
parent
401cee34d4
commit
92ad4dfbd1
@ -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 */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user