Skip to content

Commit

Permalink
ion: remove ion_user_handle_t from ion_test.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: John Stultz <[email protected]>
Signed-off-by: Colin Cross <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
colincross authored and gregkh committed Dec 17, 2013
1 parent 5c5bccb commit 0462e18
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/android/uapi/ion_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0462e18

Please sign in to comment.