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
6a6543f69a
commit
20e05070da
@ -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