mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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: Johannes Thumshirn <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
f114040e3e
commit
3d5960472d
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue