21 lines
382 B
C

#ifndef _MY_DEVICE_H
#define _MY_DEVICE_H
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/errno.h>
#include <asm/current.h>
#include <asm/segment.h>
#include <linux/uaccess.h>
#include <asm/io.h>
ssize_t xpo_read(struct file *filep, char *buff, size_t count, loff_t *offp );
struct file_operations xpo_fops={
read: xpo_read,
};
#endif