From 7835c35a45d82d8ab28e01ff9754248dec1aa488 Mon Sep 17 00:00:00 2001
From: Riku Voipio <riku.voipio@linaro.org>
Date: Thu, 16 Jun 2011 15:22:09 +0300
Subject: [PATCH 09/12] remove warning
unlocked_ioctl fileop expects long, not int
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
---
kfgles2/kfgles2_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
@@ -124,7 +124,7 @@ static int kfgles2_release(struct inode *inode, struct file *filep)
return 0;
}
/* Used to set the API, es11/20 */
-static int kfgles2_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
+static long kfgles2_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
{
kfgles2_api = cmd;
KFGLES2_PRINT("ioctl called: cmd=%d, kfgles2_api=%d\n",cmd,kfgles2_api);
--
1.7.4.1