mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
media: video: move tegra/tegra_camera.c to unlocked_ioctl
Change-Id: I2b12aaf72ac0303725aa9b419cd7240e1a198fd8
This commit is contained in:
committed by
Colin Cross
parent
256e784737
commit
1aa5151f7d
@@ -178,8 +178,8 @@ static int tegra_camera_reset(uint id)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int tegra_camera_ioctl(struct inode *inode, struct file *file,
|
||||
unsigned int cmd, unsigned long arg)
|
||||
static long tegra_camera_ioctl(struct file *file,
|
||||
unsigned int cmd, unsigned long arg)
|
||||
{
|
||||
uint id;
|
||||
|
||||
@@ -263,7 +263,7 @@ static int tegra_camera_release(struct inode *inode, struct file *file)
|
||||
|
||||
static const struct file_operations tegra_camera_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.ioctl = tegra_camera_ioctl,
|
||||
.unlocked_ioctl = tegra_camera_ioctl,
|
||||
.release = tegra_camera_release,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user