* [PATCH] ion: remove ion_user_handle_t from ion_test.h
@ 2013-12-17 0:48 Colin Cross
0 siblings, 0 replies; only message in thread
From: Colin Cross @ 2013-12-17 0:48 UTC (permalink / raw)
To: LKML; +Cc: John Stultz, Greg KH, Android Kernel Team, Andrew Morton,
Colin Cross
ion_test.h should not define ion_user_handle_t, and defining it
causes a warning:
In file included from drivers/staging/android/ion/ion_test.c:31:
drivers/staging/android/ion/../uapi/ion_test.h:23: error: redefinition of typedef 'ion_user_handle_t'
drivers/staging/android/ion/../uapi/ion.h:23: note: previous declaration of 'ion_user_handle_t' was here
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Colin Cross <ccross@android.com>
---
drivers/staging/android/uapi/ion_test.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/android/uapi/ion_test.h b/drivers/staging/android/uapi/ion_test.h
index 352379a02690..614d1e36f72c 100644
--- a/drivers/staging/android/uapi/ion_test.h
+++ b/drivers/staging/android/uapi/ion_test.h
@@ -20,8 +20,6 @@
#include <linux/ioctl.h>
#include <linux/types.h>
-typedef int ion_user_handle_t;
-
/**
* struct ion_test_rw_data - metadata passed to the kernel to read handle
* @ptr: a pointer to an area at least as large as size
--
1.8.5.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-12-17 0:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 0:48 [PATCH] ion: remove ion_user_handle_t from ion_test.h Colin Cross
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox