]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/wext.h
atmel_serial: keep clock off when it's not needed
[linux-2.6-omap-h63xx.git] / include / net / wext.h
index 80b31d826b7a8a3f3765bf0dc6fc569eefc930da..6d76a39a9c5b4cdf08842fd6e46c482afbfe72f3 100644 (file)
@@ -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 */