reset: add stub for device_reset when CONFIG_RESET_CONTROLLER=n
Users of an optional device_reset that have CONFIG_RESET_CONTROLLER=n
will trigger compilation errors. Add a static inline stub to fix it.

[ Note: device_reset is unused and unusable because we have no reset
  controller implementing .reset. It's available in Linux though and
  apparently useful for shared resets, so it's left in ]

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ccdd25a commit c14498420db89723049c494e6e89b414acd75f76
@Ahmad Fatoum Ahmad Fatoum authored on 20 Feb 2020
Sascha Hauer committed on 3 Mar 2020
Showing 1 changed file
View
include/linux/reset.h