Re: [PATCH] reset: add stub for device_reset when CONFIG_RESET_CONTROLLER=n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 20, 2020 at 10:33:27AM +0100, Ahmad Fatoum wrote:
> 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@xxxxxx>
> ---
>  include/linux/reset.h | 6 ++++++
>  1 file changed, 6 insertions(+)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux