scsi: ufs: add support for compat ioctl
Add support for compat ioctl so that 32-bit application can access the UFS ioctl calls on 64-bit kernel. Change-Id: Id4793bea84405adc7d692d6cf6f2265d1e491c28 Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
This commit is contained in:
parent
be361c995c
commit
eefe2bc77e
1 changed files with 3 additions and 0 deletions
|
@ -6973,6 +6973,9 @@ static struct scsi_host_template ufshcd_driver_template = {
|
|||
.eh_host_reset_handler = ufshcd_eh_host_reset_handler,
|
||||
.eh_timed_out = ufshcd_eh_timed_out,
|
||||
.ioctl = ufshcd_ioctl,
|
||||
#ifdef CONFIG_COMPAT
|
||||
.compat_ioctl = ufshcd_ioctl,
|
||||
#endif
|
||||
.this_id = -1,
|
||||
.sg_tablesize = SG_ALL,
|
||||
.cmd_per_lun = UFSHCD_CMD_PER_LUN,
|
||||
|
|
Loading…
Add table
Reference in a new issue