From: John Stultz Date: Fri, 13 Dec 2013 03:09:47 +0000 (-0800) Subject: ion: Fix build warning X-Git-Tag: firefly_0821_release~4090^2~429 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e513299f8dc0a79e6e3f5ee79615426edaf086b9;p=firefly-linux-kernel-4.4.55.git ion: Fix build warning Add #include to fix the following warning seen with gcc 4.7.3: In file included from drivers/staging/android/ion/ion_heap.c:26:0: drivers/staging/android/ion/ion_priv.h:358:21: warning: ‘struct device’ declared inside parameter list [enabled by default] drivers/staging/android/ion/ion_priv.h:358:21: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] Change-Id: Icc249b32d877a5b76b1669c99bef2b05d9e322da Signed-off-by: John Stultz --- diff --git a/drivers/staging/android/ion/ion_priv.h b/drivers/staging/android/ion/ion_priv.h index 19691c0d24c7..ac625b115057 100644 --- a/drivers/staging/android/ion/ion_priv.h +++ b/drivers/staging/android/ion/ion_priv.h @@ -17,6 +17,7 @@ #ifndef _ION_PRIV_H #define _ION_PRIV_H +#include #include #include #include