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>
This commit is contained in:
Родитель
dcd8f39230
Коммит
fa845740cb
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче