X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Flinux%2Freset.h;h=5daff15722d3b027579e803baa452eb2f5df9cb4;hb=c6fe46a79ecd79606bb96fada4515f6b23f87b62;hp=45a4abeb6acba0193fffd134176a956950b53a4a;hpb=6911a5281430cf6897376487698504620f454791;p=cascardo%2Flinux.git diff --git a/include/linux/reset.h b/include/linux/reset.h index 45a4abeb6acb..5daff15722d3 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h @@ -71,14 +71,14 @@ static inline struct reset_control *__of_reset_control_get( struct device_node *node, const char *id, int index, int shared) { - return ERR_PTR(-EINVAL); + return ERR_PTR(-ENOTSUPP); } static inline struct reset_control *__devm_reset_control_get( struct device *dev, const char *id, int index, int shared) { - return ERR_PTR(-EINVAL); + return ERR_PTR(-ENOTSUPP); } #endif /* CONFIG_RESET_CONTROLLER */