Pass the correct pointer to fled_cb().

This commit is contained in:
Rui Paulo 2010-03-26 18:49:43 +00:00
parent 36e60cda45
commit c0873717d4

View File

@ -74,7 +74,7 @@ fled_attach(device_t dev)
sc->sc_led = led_create(fled_cb, dev, "front");
fled_cb(sc, 1); /* Turn on LED */
fled_cb(dev, 1); /* Turn on LED */
return 0;
}