From: Nathan Chancellor Date: Fri, 3 May 2019 02:06:30 +0000 (-0700) Subject: staging: kpc2000: kpc_spi: Fix build error for {read,write}q X-Git-Tag: v5.2-rc1~153^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2a5be107f52cefb9010ccae6f569c3ddaa954cc;p=thirdparty%2Fkernel%2Flinux.git staging: kpc2000: kpc_spi: Fix build error for {read,write}q drivers/staging/kpc2000/kpc_spi/spi_driver.c:158:11: error: implicit declaration of function 'readq' [-Werror,-Wimplicit-function-declaration] drivers/staging/kpc2000/kpc_spi/spi_driver.c:167:5: error: implicit declaration of function 'writeq' [-Werror,-Wimplicit-function-declaration] Same as commit 91b6cb7216cd ("staging: kpc2000: fix up build problems with readq()"). Signed-off-by: Nathan Chancellor Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/kpc2000/kpc_spi/spi_driver.c b/drivers/staging/kpc2000/kpc_spi/spi_driver.c index 074a578153d01..3ace4e5c12847 100644 --- a/drivers/staging/kpc2000/kpc_spi/spi_driver.c +++ b/drivers/staging/kpc2000/kpc_spi/spi_driver.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include