Browse Source

compat_qcedev: remove kconfig reference in uapi header

Remove the CONFIG_COMPAT reference in the compat_qcedev.h
header to conform with uapi guidelines.

Change-Id: I3251c637a5ad76af655de87ffde21a12dbba1850
Signed-off-by: Gaurav Kashyap <[email protected]>
Gaurav Kashyap 1 year ago
parent
commit
a5359c1450
1 changed files with 0 additions and 2 deletions
  1. 0 2
      include/uapi/linux/compat_qcedev.h

+ 0 - 2
include/uapi/linux/compat_qcedev.h

@@ -10,7 +10,6 @@
 #include <linux/types.h>
 #include <linux/ioctl.h>
 
-#if IS_ENABLED(CONFIG_COMPAT)
 #include <linux/compat.h>
 
 /**
@@ -199,5 +198,4 @@ long compat_qcedev_ioctl(struct file *file,
 	_IOWR(QCEDEV_IOC_MAGIC, 10, struct compat_qcedev_map_buf_req)
 #define COMPAT_QCEDEV_IOCTL_UNMAP_BUF_REQ \
 	_IOWR(QCEDEV_IOC_MAGIC, 11, struct compat_qcedev_unmap_buf_req)
-#endif /* CONFIG_COMPAT */
 #endif /* _UAPI_COMPAT_QCEDEV__H */