diff options
author | Alex Shi <alex.shi@linaro.org> | 2016-03-30 21:34:54 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2016-04-01 13:24:17 +0800 |
commit | cec15aa3d8b61842ce6457b518a17a5848cfec3e (patch) | |
tree | 997c6c90466726e7fd55184b271b9d10294f4d07 | |
parent | 5ae72cd3d312924b1f6cea25a25e33d928fb94ad (diff) |
PM / OPP: build bug fix
the NAME_MAX need limits.h for build
Signed-off-by: Alex Shi <alex.shi@linaro.org>
(cherry picked from commit 19a1c4bb20acf96eab30584d5740d1e5146e71c8)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
-rw-r--r-- | drivers/base/power/opp/opp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/power/opp/opp.h b/drivers/base/power/opp/opp.h index 9d955e027c02..45bf5133b023 100644 --- a/drivers/base/power/opp/opp.h +++ b/drivers/base/power/opp/opp.h @@ -20,6 +20,7 @@ #include <linux/pm_opp.h> #include <linux/rculist.h> #include <linux/rcupdate.h> +#include <linux/limits.h> /* Lock to allow exclusive modification to the device and opp lists */ extern struct mutex dev_opp_list_lock; |