Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[linux-2.6.git] / include / linux / reset.h
blob6082247feab11013e6b1f0faa3e2721bf6a643bc
1 #ifndef _LINUX_RESET_H_
2 #define _LINUX_RESET_H_
4 struct device;
5 struct reset_control;
7 int reset_control_reset(struct reset_control *rstc);
8 int reset_control_assert(struct reset_control *rstc);
9 int reset_control_deassert(struct reset_control *rstc);
11 struct reset_control *reset_control_get(struct device *dev, const char *id);
12 void reset_control_put(struct reset_control *rstc);
13 struct reset_control *devm_reset_control_get(struct device *dev, const char *id);
15 int device_reset(struct device *dev);
17 #endif