mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
hamradio: use ndo_siocdevprivate
hamradio uses a set of private ioctls that do seem to work correctly in compat mode, as they only rely on the ifr_data pointer. Move them over to the ndo_siocdevprivate callback as a cleanup. Cc: Thomas Sailer <t.sailer@alumni.ethz.ch> Cc: Joerg Reuter <jreuter@yaina.de> Cc: Jean-Paul Roubelat <jpr@f6fbb.org> Cc: linux-hams@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ebb4a911e0
commit
25ec92fbdd
10 changed files with 65 additions and 61 deletions
|
@ -79,7 +79,7 @@ struct hdlcdrv_ops {
|
|||
*/
|
||||
int (*open)(struct net_device *);
|
||||
int (*close)(struct net_device *);
|
||||
int (*ioctl)(struct net_device *, struct ifreq *,
|
||||
int (*ioctl)(struct net_device *, void __user *,
|
||||
struct hdlcdrv_ioctl *, int);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue