• Masahiro Yamada's avatar
    reset: add no-op stubs for optional reset control · 4815db87
    Masahiro Yamada authored
    My motivation for this patch is to make reset control handling
    optional for generic drivers.
    I want to add reset control to drivers/usb/host/ehci-generic.c,
    but it is used by several platforms, some will implement a reset
    controller driver, some will not.
    Add no-op stubs in order to avoid link error for drivers that
    implement reset controlling, but still it is optional.
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
reset.h 5.75 KB