• Patrick Mochel's avatar
    Beef up centralized driver mgmt: · f371ab1c
    Patrick Mochel authored
    - add name, bus, lock, refcount, bus_list, devices, and dir fields to struct
    - add release callback to be called when  refcount hits 0
    - add helpers for registration and refcounting
    - create directory for driver in bus's directory
    f371ab1c
driver.c 1.5 KB