• Federico Vaga's avatar
    zio-sysfs.h: change zio_attribute structure (incompatible) · 7554f819
    Federico Vaga authored
    This patch removes the union field priv in the zio_attribute and it
    introduces the id field. From our experience, the priv.ptr pointer
    is useless; the priv.addr field can be used for every purpose, also
    if you have your own private structure.
    
    The new field id replaces the role of priv.addr. It can represent a
    register address, a register offset, an index of a vector of private
    structure which describe how to gain access to a register, or whatever
    can describe uniquely a register (or register field)
    Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
    Acked-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    7554f819
Name
Last commit
Last update
..
zio-buffer.h Loading commit data...
zio-sysfs.h Loading commit data...
zio-trigger.h Loading commit data...
zio-user.h Loading commit data...
zio.h Loading commit data...