diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index a6e951eb..d211b101 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -44,6 +44,9 @@ * data/analog/bf548/bf548: Add pin aliases for ADDR4..ADDR24 to match style of all other Blackfin parts. + * src/bus/generic_bus.c, src/bus/generic_bus.h (urj_bus_generic_attach_sig): + Constify signal id name. + 2010-08-30 Mike Frysinger * configure.ac: Clean up libusb detection to prefer 1.0 over 0.1, and accept diff --git a/urjtag/src/bus/generic_bus.c b/urjtag/src/bus/generic_bus.c index c04afd0b..bb010d3a 100644 --- a/urjtag/src/bus/generic_bus.c +++ b/urjtag/src/bus/generic_bus.c @@ -34,7 +34,7 @@ int urj_bus_generic_attach_sig (urj_part_t *part, urj_part_signal_t **sig, - char *id) + const char *id) { *sig = urj_part_find_signal (part, id); if (!*sig) diff --git a/urjtag/src/bus/generic_bus.h b/urjtag/src/bus/generic_bus.h index 37faccbb..5f6409a5 100644 --- a/urjtag/src/bus/generic_bus.h +++ b/urjtag/src/bus/generic_bus.h @@ -30,7 +30,7 @@ #include int urj_bus_generic_attach_sig (urj_part_t *part, urj_part_signal_t **sig, - char *id); + const char *id); urj_bus_t *urj_bus_generic_new (urj_chain_t *chain, const urj_bus_driver_t *driver,