Add back a const qualifier I somehow fumbled away between test-building
and committing recent changes.
This commit is contained in:
parent
0a06f11da3
commit
2c6c030ce2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349132
@ -132,7 +132,7 @@ pwmc_setup_label(struct pwmc_softc *sc)
|
|||||||
static void
|
static void
|
||||||
pwmc_setup_label(struct pwmc_softc *sc)
|
pwmc_setup_label(struct pwmc_softc *sc)
|
||||||
{
|
{
|
||||||
char *label;
|
const char *label;
|
||||||
|
|
||||||
if (resource_string_value(device_get_name(sc->dev),
|
if (resource_string_value(device_get_name(sc->dev),
|
||||||
device_get_unit(sc->dev), "label", &label) == 0) {
|
device_get_unit(sc->dev), "label", &label) == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user