ion: Fix build warning
authorJohn Stultz <john.stultz@linaro.org>
Fri, 13 Dec 2013 03:09:47 +0000 (19:09 -0800)
committerColin Cross <ccross@android.com>
Tue, 17 Dec 2013 01:35:47 +0000 (01:35 +0000)
commite513299f8dc0a79e6e3f5ee79615426edaf086b9
tree628c288dc65f33bcadafff054d783aa6f8a02c63
parent8d9bc1404990afcc1fa73f1412f2b653fc3ecd31
ion: Fix build warning

Add #include <linux/device.h> 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 <john.stultz@linaro.org>
drivers/staging/android/ion/ion_priv.h