X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fnet%2Fwext.h;h=6d76a39a9c5b4cdf08842fd6e46c482afbfe72f3;hb=9c02f2b02e29a2244e36c6e1f246080d8afc6cff;hp=80b31d826b7a8a3f3765bf0dc6fc569eefc930da;hpb=37e58df30063e229ee5157f9d1c1fa1d749917c2;p=deliverable%2Flinux.git diff --git a/include/net/wext.h b/include/net/wext.h index 80b31d826b7a..6d76a39a9c5b 100644 --- a/include/net/wext.h +++ b/include/net/wext.h @@ -12,6 +12,8 @@ extern int wext_proc_init(struct net *net); extern void wext_proc_exit(struct net *net); extern int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, void __user *arg); +extern int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, + unsigned long arg); #else static inline int wext_proc_init(struct net *net) { @@ -26,6 +28,11 @@ static inline int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned { return -EINVAL; } +static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, + unsigned long arg) +{ + return -EINVAL; +} #endif #endif /* __NET_WEXT_H */