Skip to content
  • Jeremy Kerr's avatar
    API: Add binding accessors to generic struct mctp_binding · 3b36d17c
    Jeremy Kerr authored
    
    
    Rather than have every binding include their own wrappers around
    binding<->core functions, introduce an accessor to retrieve the struct
    mctp_binding from each.
    
    This means we no longer need the binding-specific registration
    callbacks. However, we do now need a ->start callback, to allow bindings
    to perform post-registration init.
    
    Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
    Change-Id: I6cee9e93f37520f85c155a0ca34017cc0675552c
    3b36d17c