git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
net
/
atm
/
resources.h
diff --git
a/net/atm/resources.h
b/net/atm/resources.h
index
b7fb82a
..
1d004aa
100644
(file)
--- a/
net/atm/resources.h
+++ b/
net/atm/resources.h
@@
-6,12
+6,12
@@
#ifndef NET_ATM_RESOURCES_H
#define NET_ATM_RESOURCES_H
#ifndef NET_ATM_RESOURCES_H
#define NET_ATM_RESOURCES_H
-#include <linux/config.h>
#include <linux/atmdev.h>
#include <linux/atmdev.h>
+#include <linux/mutex.h>
extern struct list_head atm_devs;
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);
@@
-42,4
+42,6
@@
static inline void atm_proc_dev_deregister(struct atm_dev *dev)
#endif /* CONFIG_PROC_FS */
#endif /* CONFIG_PROC_FS */
+int atm_register_sysfs(struct atm_dev *adev);
+void atm_unregister_sysfs(struct atm_dev *adev);
#endif
#endif