ion: Fix build warning
authorJohn Stultz <john.stultz@linaro.org>
Fri, 13 Dec 2013 03:09:47 +0000 (19:09 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 13 Dec 2013 03:14:26 +0000 (19:14 -0800)
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>
drivers/staging/android/ion/ion_priv.h

index 19691c0d24c7dd083f2c19bc842ea6d1cb346b10..ffc8a1c8b2214841cec1d49dc4dca2ac47b4215a 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/sched.h>
 #include <linux/shrinker.h>
 #include <linux/types.h>
+#include <linux/device.h>
 
 #include "ion.h"