staging: kpc2000: fix up build problems with readq()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 May 2019 08:48:43 +0000 (10:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 May 2019 08:48:43 +0000 (10:48 +0200)
The 0-day system found a bunch of warnings for when readq() is not
defined on the platform, so fix this by including the
linux/io-64-nonatomic-lo-hi.h file which will fix up these issues.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc2000/cell_probe.c
drivers/staging/kpc2000/kpc2000/core.c
drivers/staging/kpc2000/kpc2000/fileops.c
drivers/staging/kpc2000/kpc_i2c/i2c_driver.c

index 13f544f..e0dba91 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/slab.h>
 #include <asm/io.h>
 #include <linux/io.h>
+#include <linux/io-64-nonatomic-lo-hi.h>
 #include <linux/mfd/core.h>
 #include <linux/platform_device.h>
 #include <linux/ioport.h>
index 35b87cd..40390cd 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/mfd/core.h>
 #include <linux/platform_device.h>
 #include <linux/ioport.h>
+#include <linux/io-64-nonatomic-lo-hi.h>
 #include <linux/interrupt.h>
 #include <linux/workqueue.h>
 #include <linux/device.h>
index a6beca8..b3b0b76 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/uaccess.h>    /* copy_*_user */
 #include <linux/rwsem.h>
 #include <linux/idr.h>
+#include <linux/io-64-nonatomic-lo-hi.h>
 #include <linux/device.h>
 #include <linux/sched.h>
 #include "pcie.h"
index 1fc30dc..0fb068b 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/module.h>
 #include <linux/types.h>
 #include <asm/io.h>
+#include <linux/io-64-nonatomic-lo-hi.h>
 #include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/platform_device.h>