aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2013-12-12 19:09:47 -0800
committerJohn Stultz <john.stultz@linaro.org>2013-12-12 19:14:26 -0800
commitc240c24f343f6e2b919bdfc1ee4f1d2ba6b07d79 (patch)
tree28ddc3f69483236ada30e0e879a8797e37679415 /drivers/staging
parentaf3c969e503a355a0ba4f9c6b98a4c0dd20705ab (diff)
downloadlinaro-lsk-c240c24f343f6e2b919bdfc1ee4f1d2ba6b07d79.tar.gz
ion: Fix build warning
Add #include <linux/device.h> to fix the following warning. 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] Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/android/ion/ion_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/android/ion/ion_priv.h b/drivers/staging/android/ion/ion_priv.h
index 19691c0d24c..ffc8a1c8b22 100644
--- a/drivers/staging/android/ion/ion_priv.h
+++ b/drivers/staging/android/ion/ion_priv.h
@@ -25,6 +25,7 @@
#include <linux/sched.h>
#include <linux/shrinker.h>
#include <linux/types.h>
+#include <linux/device.h>
#include "ion.h"