diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2014-01-18 17:04:06 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 09:01:08 -0800 |
commit | 10f6f9c38a422451989eb4e36a14788b1799b491 (patch) | |
tree | b0fa9194ee78688d086c0d543ee8feaee3e77c01 /drivers/staging/android | |
parent | 81e990bbdeb77db80d7e7f0e36e159a0facfdff0 (diff) | |
download | blackbird-obmc-linux-10f6f9c38a422451989eb4e36a14788b1799b491.tar.gz blackbird-obmc-linux-10f6f9c38a422451989eb4e36a14788b1799b491.zip |
drivers: staging: android: ion: ion_dummy_driver: include "linux/io.h"
Need add "linux/io.h" to pass compiling under metag architecture with
allmodconfig (which use the default 'virt_to_phys'), the related error:
CC drivers/staging/android/ion/ion_dummy_driver.o
drivers/staging/android/ion/ion_dummy_driver.c: In function 'ion_dummy_init':
drivers/staging/android/ion/ion_dummy_driver.c:81: error: implicit declaration of function 'virt_to_phys'
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r-- | drivers/staging/android/ion/ion_dummy_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/android/ion/ion_dummy_driver.c b/drivers/staging/android/ion/ion_dummy_driver.c index 55b2002753f2..3854df7d6629 100644 --- a/drivers/staging/android/ion/ion_dummy_driver.c +++ b/drivers/staging/android/ion/ion_dummy_driver.c @@ -20,6 +20,7 @@ #include <linux/bootmem.h> #include <linux/memblock.h> #include <linux/sizes.h> +#include <linux/io.h> #include "ion.h" #include "ion_priv.h" |