diff options
Diffstat (limited to 'include/linux/ioctl32.h')
-rw-r--r-- | include/linux/ioctl32.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/ioctl32.h b/include/linux/ioctl32.h index e1a64181942..e8c4af32b3b 100644 --- a/include/linux/ioctl32.h +++ b/include/linux/ioctl32.h @@ -1,6 +1,8 @@ #ifndef IOCTL32_H #define IOCTL32_H 1 +#include <linux/compiler.h> /* for __deprecated */ + struct file; typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int, @@ -23,9 +25,9 @@ struct ioctl_trans { */ #ifdef CONFIG_COMPAT -extern int register_ioctl32_conversion(unsigned int cmd, +extern int __deprecated register_ioctl32_conversion(unsigned int cmd, ioctl_trans_handler_t handler); -extern int unregister_ioctl32_conversion(unsigned int cmd); +extern int __deprecated unregister_ioctl32_conversion(unsigned int cmd); #else |