Listing 1. Operations Structure

static struct file_operations pc30at_fops = {
        NULL, /* lseek */
        pc30at_read,
        pc30at_write,
        NULL, /* readdir */
        NULL, /* select */
        NULL, /* ioctl */
        NULL, /* mmap */
        pc30at_open,
        pc30at_close,
        NULL  /* fsync */
};