• Tobias Ellinghaus's avatar
    introspection: Add sizeof dt_iop_module_t to data · 727f75fc
    Tobias Ellinghaus authored
    Having the size of the self pointer allows to call init() and then
    legacy_params() without needing the dt headers. Maybe it also helps
    when dealing with old modules that have another size of that struct?
    
    This still fails for a few modules that try to access self->dev in
    legacy_params. We have no sane way to set that without any extra
    knowledge.
    727f75fc
introspection.h 15.1 KB