diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2018-01-19 09:30:33 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-01-19 09:30:33 -0800 |
| commit | a407c5262df571401dc035fe8142bf161f1ccfce (patch) | |
| tree | 54e29b1b4e9670c630c289db791b22cfc00e6df4 | |
| parent | d23b921b46ed2a812bf9de5e0c1cc5cc8c9f0348 (diff) | |
| parent | bc474ffea6f7867c5de557c662db3d5f829a02dc (diff) | |
Merge "soc: qcom: hab: add compat_ioctl support"
| -rw-r--r-- | drivers/soc/qcom/hab/hab.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/soc/qcom/hab/hab.c b/drivers/soc/qcom/hab/hab.c index a48636dc9dbe..5ca94579b6f1 100644 --- a/drivers/soc/qcom/hab/hab.c +++ b/drivers/soc/qcom/hab/hab.c @@ -867,12 +867,19 @@ static long hab_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) return ret; } +static long hab_compat_ioctl(struct file *filep, unsigned int cmd, + unsigned long arg) +{ + return hab_ioctl(filep, cmd, arg); +} + static const struct file_operations hab_fops = { .owner = THIS_MODULE, .open = hab_open, .release = hab_release, .mmap = habmem_imp_hyp_mmap, - .unlocked_ioctl = hab_ioctl + .unlocked_ioctl = hab_ioctl, + .compat_ioctl = hab_compat_ioctl }; /* |
