From: Colin Cross Date: Tue, 17 Dec 2013 00:48:17 +0000 (-0800) Subject: ion: remove ion_user_handle_t from ion_test.h X-Git-Tag: upstream/snapshot3+hdmi~3491^2~366 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0462e185caa11b38bf27f77234a8e2c3e02a35c7;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ion: remove ion_user_handle_t from ion_test.h 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 Cc: John Stultz Signed-off-by: Colin Cross Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/uapi/ion_test.h b/drivers/staging/android/uapi/ion_test.h index 352379a..614d1e3 100644 --- a/drivers/staging/android/uapi/ion_test.h +++ b/drivers/staging/android/uapi/ion_test.h @@ -20,8 +20,6 @@ #include #include -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