Fix style bugs:

Missing `const' qualifier.
Initialization in declaration.

Submitted by: mike
This commit is contained in:
Alfred Perlstein 2002-02-24 23:24:01 +00:00
parent d32e27a9f4
commit 0077e8223b

View File

@ -423,8 +423,9 @@ isa_assign_resources(device_t child)
struct isa_device *idev = DEVTOISA(child);
struct isa_config_entry *ice;
struct isa_config *cfg;
char *reason = "Empty ISA id_configs";
const char *reason;
reason = "Empty ISA id_configs";
cfg = malloc(sizeof(struct isa_config), M_TEMP, M_NOWAIT|M_ZERO);
if (cfg == NULL)
return(0);