aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/kpc2000/kpc_i2c/i2c_driver.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-01 10:48:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-01 10:48:43 +0200
commit91b6cb7216cd8bad027bc9ef88e2834786c8eeaf (patch)
tree3ef306b7954ed7cbf9df9693e0af65cc8b265b21 /drivers/staging/kpc2000/kpc_i2c/i2c_driver.c
parentstaging: rtlwifi: move remaining phydm .h files (diff)
downloadlinux-dev-91b6cb7216cd8bad027bc9ef88e2834786c8eeaf.tar.xz
linux-dev-91b6cb7216cd8bad027bc9ef88e2834786c8eeaf.zip
staging: kpc2000: fix up build problems with readq()
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>
Diffstat (limited to '')
-rw-r--r--drivers/staging/kpc2000/kpc_i2c/i2c_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/kpc2000/kpc_i2c/i2c_driver.c b/drivers/staging/kpc2000/kpc_i2c/i2c_driver.c
index 1fc30dc687f9..0fb068b2408d 100644
--- a/drivers/staging/kpc2000/kpc_i2c/i2c_driver.c
+++ b/drivers/staging/kpc2000/kpc_i2c/i2c_driver.c
@@ -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>