hwmon: Add missing inclusions of <linux/err.h>
authorJean Delvare <khali@linux-fr.org>
Wed, 10 Oct 2012 13:25:56 +0000 (15:25 +0200)
committerJean Delvare <khali@endymion.delvare>
Wed, 10 Oct 2012 13:25:56 +0000 (15:25 +0200)
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>
drivers/hwmon/acpi_power_meter.c
drivers/hwmon/applesmc.c
drivers/hwmon/asus_atk0110.c
drivers/hwmon/ibmaem.c
drivers/hwmon/ibmpex.c
drivers/hwmon/ultra45_env.c

index 23ab3c496b0505bb1ed3c2f0e43dfe2ef1a139a8..1672e2a5db46865cd2849927517c528f287c3314 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/kdev_t.h>
 #include <linux/sched.h>
 #include <linux/time.h>
+#include <linux/err.h>
 #include <acpi/acpi_drivers.h>
 #include <acpi/acpi_bus.h>
 
index 8f3f6f2c45fd1a5ba95664a4ba92a6ffe7e6323c..b41baffa20f0287ecb69de92ffbc66944535048f 100644 (file)
@@ -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
index c74b1d931854b02a950e5ec1e79065b472c9e5b7..56dbcfb3e30170346f16826a37cff51b641e8ef2 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/slab.h>
 #include <linux/dmi.h>
 #include <linux/jiffies.h>
+#include <linux/err.h>
 
 #include <acpi/acpi.h>
 #include <acpi/acpixf.h>
index 37f17e0d9d5d85a5c4e20024812b5b97dc1b36c8..a14f634248e72c9c7574bcc6593ac835d66eb19a 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/platform_device.h>
 #include <linux/math64.h>
 #include <linux/time.h>
+#include <linux/err.h>
 
 #define REFRESH_INTERVAL       (HZ)
 #define IPMI_TIMEOUT           (30 * HZ)
index 41dbf8161ed7b4fb1bc29811c61f006152c9a41c..b622a93ec32cea4622d72037ee41cfd3612d2b38 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/jiffies.h>
 #include <linux/mutex.h>
 #include <linux/slab.h>
+#include <linux/err.h>
 
 #define REFRESH_INTERVAL       (2 * HZ)
 #define DRVNAME                        "ibmpex"
index c315c59f61fe3fa86b982b19eec3315de0686ec6..44136bb6d045469de09f4eaf302a8085f8b07eb7 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/io.h>
 #include <linux/hwmon.h>
 #include <linux/hwmon-sysfs.h>
+#include <linux/err.h>
 
 #define DRV_MODULE_VERSION     "0.1"