[PATCH] reset: provide dummy API entries to avoid link errors

Stephen Warren swarren at wwwdotorg.org
Mon Jun 10 12:06:08 EDT 2013


On 06/08/2013 11:30 PM, Barry Song wrote:
> this patch provides dummy reset API entries like other subsystem e.g.
> gpiolib to avoid link errors when RESET_CONTROLLER is not enabled.

I would tend to think that any driver that needs to use this API to
reset its HW should depend on the reset API (or select it) to ensure
that the API was present.

That way, problems would be detected at compile-time, not run-time.



More information about the linux-arm-kernel mailing list