summaryrefslogtreecommitdiffstats
path: root/sys/isa/isa_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isa/isa_common.c')
-rw-r--r--sys/isa/isa_common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c
index dee64e2..162d375 100644
--- a/sys/isa/isa_common.c
+++ b/sys/isa/isa_common.c
@@ -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);
OpenPOWER on IntegriCloud