aboutsummaryrefslogtreecommitdiff
path: root/net/atm/resources.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/atm/resources.h')
-rw-r--r--net/atm/resources.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/atm/resources.h b/net/atm/resources.h
index b7fb82a93b4..521431e3050 100644
--- a/net/atm/resources.h
+++ b/net/atm/resources.h
@@ -6,14 +6,14 @@
#ifndef NET_ATM_RESOURCES_H
#define NET_ATM_RESOURCES_H
-#include <linux/config.h>
#include <linux/atmdev.h>
+#include <linux/mutex.h>
extern struct list_head atm_devs;
-extern struct semaphore atm_dev_mutex;
+extern struct mutex atm_dev_mutex;
-int atm_dev_ioctl(unsigned int cmd, void __user *arg);
+int atm_dev_ioctl(unsigned int cmd, void __user *arg, int compat);
#ifdef CONFIG_PROC_FS
@@ -42,4 +42,6 @@ static inline void atm_proc_dev_deregister(struct atm_dev *dev)
#endif /* CONFIG_PROC_FS */
+int atm_register_sysfs(struct atm_dev *adev, struct device *parent);
+void atm_unregister_sysfs(struct atm_dev *adev);
#endif