diff options
author | Jean Delvare <khali@linux-fr.org> | 2012-10-10 15:25:56 +0200 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-10-10 15:25:56 +0200 |
commit | fa845740cbc565d8f52c32973bb598743eb0d995 (patch) | |
tree | 6015e01b2858271ccdbb5dd20f7996eff585db47 /drivers/hwmon/applesmc.c | |
parent | hwmon: Add missing inclusions of <linux/jiffies.h> (diff) | |
download | linux-fa845740cbc565d8f52c32973bb598743eb0d995.tar.xz linux-fa845740cbc565d8f52c32973bb598743eb0d995.zip |
hwmon: Add missing inclusions of <linux/err.h>
These drivers use IS_ERR so they should include <linux/err.h>.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Luca Tettamanti <kronos.it@gmail.com>
Cc: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'drivers/hwmon/applesmc.c')
-rw-r--r-- | drivers/hwmon/applesmc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c index 8f3f6f2c45fd..b41baffa20f0 100644 --- a/drivers/hwmon/applesmc.c +++ b/drivers/hwmon/applesmc.c @@ -43,6 +43,7 @@ #include <linux/leds.h> #include <linux/hwmon.h> #include <linux/workqueue.h> +#include <linux/err.h> /* data port used by Apple SMC */ #define APPLESMC_DATA_PORT 0x300 |