[PATCH] drivers: staging: android: ion: ion_dummy_driver: include "linux/io.h"
Chen Gang
gang.chen.5i5j at gmail.com
Sat Jan 25 12:02:11 UTC 2014
Hello Maintainers:
Please help check this patch when you have time, thanks.
On 01/18/2014 05:04 PM, Chen Gang wrote:
> 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 at gmail.com>
> ---
> drivers/staging/android/ion/ion_dummy_driver.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/staging/android/ion/ion_dummy_driver.c b/drivers/staging/android/ion/ion_dummy_driver.c
> index 55b2002..3854df7 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"
>
>
Thanks
--
Chen Gang
Open, share and attitude like air, water and life which God blessed
More information about the devel
mailing list