提交 3d596047 编写于 作者: J Johannes Thumshirn 提交者: Guenter Roeck

hwmon: (menf21bmc) Include linux/err.h

Include linux/err.h to get the definitions for IS_ERR() PTR_ERR() and
ERR_PTR() used in the driver.

This fixes compilation on powerpc targets.
Signed-off-by: NJohannes Thumshirn <johannes.thumshirn@men.de>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
上级 f114040e
......@@ -21,6 +21,7 @@
#include <linux/jiffies.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/err.h>
#define DRV_NAME "menf21bmc_hwmon"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册