[CONNECTOR]: Update documentation to match reality.
[linux-2.6/verdex.git] / include / linux / phonedev.h
blobd54049eed0c395a9ae762404554ac1c37a65123d
1 #ifndef __LINUX_PHONEDEV_H
2 #define __LINUX_PHONEDEV_H
4 #include <linux/types.h>
5 #include <linux/version.h>
7 #ifdef __KERNEL__
9 #include <linux/poll.h>
11 struct phone_device {
12 struct phone_device *next;
13 struct file_operations *f_op;
14 int (*open) (struct phone_device *, struct file *);
15 int board; /* Device private index */
16 int minor;
19 extern int phonedev_init(void);
20 #define PHONE_MAJOR 100
21 extern int phone_register_device(struct phone_device *, int unit);
22 #define PHONE_UNIT_ANY -1
23 extern void phone_unregister_device(struct phone_device *);
25 #endif
26 #endif