diff options
author | Samuel Iglesias Gonsálvez <siglesias@igalia.com> | 2012-09-05 07:08:17 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-05 18:58:24 (GMT) |
commit | b9f789fb1f439e8dad14e4da76b7a48fd358c5c3 (patch) | |
tree | 4c05f0c394697740157fbd6aef9e0ee1acad2398 /drivers/staging/ipack/ipack.c | |
parent | 40a3ee02f8ce9ecdc1ea085d0b59502baa8976c3 (diff) | |
download | linux-fsl-qoriq-b9f789fb1f439e8dad14e4da76b7a48fd358c5c3.tar.xz |
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 <sfr@canb.auug.org.au>
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ipack/ipack.c')
-rw-r--r-- | drivers/staging/ipack/ipack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/ipack/ipack.c b/drivers/staging/ipack/ipack.c index ff907fa..b3736c0 100644 --- a/drivers/staging/ipack/ipack.c +++ b/drivers/staging/ipack/ipack.c @@ -12,6 +12,7 @@ #include <linux/module.h> #include <linux/slab.h> #include <linux/idr.h> +#include <asm/io.h> #include "ipack.h" #define to_ipack_dev(device) container_of(device, struct ipack_device, dev) |