rb_init_node() has been removed from the kernel, use alternate macro.

Signed-off-by: Tushar Behera <tushar.beh...@linaro.org>
---

This patch also needs to go into android-3.7 tree.

 drivers/gpu/ion/ion.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/ion/ion.c b/drivers/gpu/ion/ion.c
index 1002ec0..baab410 100644
--- a/drivers/gpu/ion/ion.c
+++ b/drivers/gpu/ion/ion.c
@@ -191,7 +191,7 @@ static struct ion_handle *ion_handle_create(struct 
ion_client *client,
        if (!handle)
                return ERR_PTR(-ENOMEM);
        kref_init(&handle->ref);
-       rb_init_node(&handle->node);
+       RB_CLEAR_NODE(&handle->node);
        handle->client = client;
        ion_buffer_get(buffer);
        handle->buffer = buffer;
-- 
1.7.4.1


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to