Reset controller changes for v5.2

This adds support for 'acquired'/'released' states to exclusive reset
 controls to allow drivers that usually need direct control over their
 reset line, to temporarily yield control to another driver, such as a
 power domain controller during power transitions. A fix adds missing
 headers to linux/reset.h, which caused build errors in linux-next,
 discovered by the new lima DRM driver.
 -----BEGIN PGP SIGNATURE-----
 
 iI0EABYIADUWIQRRO6F6WdpH1R0vGibVhaclGDdiwAUCXMCJyRcccC56YWJlbEBw
 ZW5ndXRyb25peC5kZQAKCRDVhaclGDdiwOAyAP4tv9bjWFifBOTFWzyQm/C3dkQC
 pvC7xLi6xeNEISJFCgD/dMOGWMXYxUv+0X57Bnk5quRVp15ZY+wjfe8nDjugPgI=
 =Ym0C
 -----END PGP SIGNATURE-----

Merge tag 'reset-for-5.2' of git://git.pengutronix.de/pza/linux into arm/drivers

Reset controller changes for v5.2

This adds support for 'acquired'/'released' states to exclusive reset
controls to allow drivers that usually need direct control over their
reset line, to temporarily yield control to another driver, such as a
power domain controller during power transitions. A fix adds missing
headers to linux/reset.h, which caused build errors in linux-next,
discovered by the new lima DRM driver.

* tag 'reset-for-5.2' of git://git.pengutronix.de/pza/linux:
  reset: fix linux/reset.h errors

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2019-04-29 09:53:21 -07:00
commit 1e6df94937

View File

@ -2,6 +2,8 @@
#ifndef _LINUX_RESET_H_
#define _LINUX_RESET_H_
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/types.h>
struct device;