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 13f544f3c0b9ba4e8f0134bd644085a2edd850c6..e0dba91e7fa8357acc99a184ca5f7b96919349ce 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 35b87cdc4fb0605f25eb79e4073a4e351db7cb71..40390cdd3c8d6691b07e17b321aa7dd319a0a655 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 a6beca8dbac52c1f72632afd37e46f8c2c556dda..b3b0b763fa1ef7baeae8690761b775cbf2a205d0 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 1fc30dc687f9aeb7f649208eb75ac2b22f1d1475..0fb068b2408dc41bacf086be6d3f80858df22477 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>