From: Greg Kroah-Hartman Date: Wed, 1 May 2019 08:48:43 +0000 (+0200) Subject: staging: kpc2000: fix up build problems with readq() X-Git-Tag: v5.2-rc1~153^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=91b6cb7216cd;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/kpc2000/kpc2000/cell_probe.c b/drivers/staging/kpc2000/kpc2000/cell_probe.c index 13f544f3c0b9b..e0dba91e7fa83 100644 --- a/drivers/staging/kpc2000/kpc2000/cell_probe.c +++ b/drivers/staging/kpc2000/kpc2000/cell_probe.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/staging/kpc2000/kpc2000/core.c b/drivers/staging/kpc2000/kpc2000/core.c index 35b87cdc4fb06..40390cdd3c8d6 100644 --- a/drivers/staging/kpc2000/kpc2000/core.c +++ b/drivers/staging/kpc2000/kpc2000/core.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/staging/kpc2000/kpc2000/fileops.c b/drivers/staging/kpc2000/kpc2000/fileops.c index a6beca8dbac52..b3b0b763fa1ef 100644 --- a/drivers/staging/kpc2000/kpc2000/fileops.c +++ b/drivers/staging/kpc2000/kpc2000/fileops.c @@ -10,6 +10,7 @@ #include /* copy_*_user */ #include #include +#include #include #include #include "pcie.h" diff --git a/drivers/staging/kpc2000/kpc_i2c/i2c_driver.c b/drivers/staging/kpc2000/kpc_i2c/i2c_driver.c index 1fc30dc687f9a..0fb068b2408dc 100644 --- a/drivers/staging/kpc2000/kpc_i2c/i2c_driver.c +++ b/drivers/staging/kpc2000/kpc_i2c/i2c_driver.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include