mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] officially deprecate register_ioctl32_conversion
These have been deprecated since ->compat_ioctl when in, thus only a short deprecation period. There's four users left: i2o_config, s390/z90crypy, s390/dasd and s390/zfcp and for the first two patches are about to be submitted to get rid of it. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
6cae60feb6
commit
22a685d09b
2 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue