diff mbox

[2/4] mfd: max14577: Include missing err.h

Message ID 1392196213-20576-2-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat Feb. 12, 2014, 9:10 a.m. UTC
Add this header explicitly for IS_ERR and friends.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/mfd/max14577.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Lee Jones Feb. 14, 2014, 9:39 a.m. UTC | #1
> Add this header explicitly for IS_ERR and friends.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  drivers/mfd/max14577.c |    1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.
diff mbox

Patch

diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
index 2ac2f2d7cea6..88cf5811ce3b 100644
--- a/drivers/mfd/max14577.c
+++ b/drivers/mfd/max14577.c
@@ -18,6 +18,7 @@ 
  * This driver is based on max8997.c
  */
 
+#include <linux/err.h>
 #include <linux/module.h>
 #include <linux/interrupt.h>
 #include <linux/mfd/core.h>