Listing 1. phone_device Structure

struct phone_device {
    struct phone_device *next;
    struct file_operations *f_op;
    int (*open) (struct phone_device *, struct file *);
    struct file *file_p;
    int board;
    int minor;
};