From: Samuel Iglesias Gonsálvez Date: Wed, 5 Sep 2012 07:08:17 +0000 (+0200) Subject: Staging: ipack: fix build failure in powerpc allyesconfig X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9f789fb1f439e8dad14e4da76b7a48fd358c5c3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: ipack: fix build failure in powerpc allyesconfig Caused by commit 187e47824013 ("Staging: ipack: Read the ID space during device registration"). drivers/staging/ipack/ipack.c: In function 'ipack_device_read_id': drivers/staging/ipack/ipack.c:291:2: error: implicit declaration of function 'ioread8' [-Werror=implicit-function-declaration] drivers/staging/ipack/ipack.c:309:3: error: implicit declaration of function 'ioread16be' [-Werror=implicit-function-declaration] Reported-by: Stephen Rothwell Signed-off-by: Samuel Iglesias Gonsálvez Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ipack/ipack.c b/drivers/staging/ipack/ipack.c index ff907facc005..b3736c0a1086 100644 --- a/drivers/staging/ipack/ipack.c +++ b/drivers/staging/ipack/ipack.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "ipack.h" #define to_ipack_dev(device) container_of(device, struct ipack_device, dev)