>From: Ameya Palande [mailto:[email protected]]
>Subject: [PATCH] DSPBRIDGE: Compiler wanrning fix for unlocked_ioctl
>
>From: Ameya Palande <[email protected]>
>
>Signed-off-by: Ameya Palande <[email protected]>
>---
> drivers/dsp/bridge/rmgr/drv_interface.c |    2 +-
> drivers/dsp/bridge/rmgr/drv_interface.h |    2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c 
>b/drivers/dsp/bridge/rmgr/drv_interface.c
>index c3d8a02..f41e153 100644
>--- a/drivers/dsp/bridge/rmgr/drv_interface.c
>+++ b/drivers/dsp/bridge/rmgr/drv_interface.c
>@@ -665,7 +665,7 @@ static int bridge_release(struct inode *ip, struct file 
>*filp)
> }
>
> /* This function provides IO interface to the bridge driver. */
>-static int bridge_ioctl(struct file *filp, unsigned int code,
>+static long bridge_ioctl(struct file *filp, unsigned int code,
>               unsigned long args)
> {
>       int status;
>diff --git a/drivers/dsp/bridge/rmgr/drv_interface.h 
>b/drivers/dsp/bridge/rmgr/drv_interface.h
>index 3e77ed0..dc49210 100644
>--- a/drivers/dsp/bridge/rmgr/drv_interface.h
>+++ b/drivers/dsp/bridge/rmgr/drv_interface.h
>@@ -34,7 +34,7 @@ static int __init bridge_init(void); /* Initialize bridge */
> static void __exit bridge_exit(void); /* Opposite of initialize */
> static int bridge_open(struct inode *, struct file *);        /* Open */
> static int bridge_release(struct inode *, struct file *);     /* Release */
>-static int bridge_ioctl(struct file *, unsigned int,
>+static long bridge_ioctl(struct file *, unsigned int,
>                       unsigned long);
> static int bridge_mmap(struct file *filp, struct vm_area_struct *vma);
> #endif                                /* ifndef _DRV_INTERFACE_H_ */
>--
>1.6.2.4
>

Pushed to bridge tree on dev.omapzoom.org

- omar
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to