]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
reset: add no-op stubs for optional reset control
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 21 Sep 2016 02:29:01 +0000 (11:29 +0900)
committerTom Rini <trini@konsulko.com>
Sat, 24 Sep 2016 02:25:44 +0000 (22:25 -0400)
commit4815db87f518ba6d4f070cfbcb6959ea7720775d
tree3c921d5f5b2bf0539e8383152259cc943d2d4edf
parent259ede1132724a82327e06808884d4debba6f8eb
reset: add no-op stubs for optional reset control

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: Masahiro Yamada <yamada.masahiro@socionext.com>
include/reset.h