From: Chen Gang Date: Sat, 18 Jan 2014 09:04:06 +0000 (+0800) Subject: drivers: staging: android: ion: ion_dummy_driver: include "linux/io.h" X-Git-Tag: v3.14-rc3~12^2~36 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=10f6f9c38a422451989eb4e36a14788b1799b491;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 #include #include +#include #include "ion.h" #include "ion_priv.h"