|
@@ -28,18 +28,6 @@
|
|
|
|
|
|
#define UIO_MAX_DEVICES (1U << MINORBITS)
|
|
#define UIO_MAX_DEVICES (1U << MINORBITS)
|
|
|
|
|
|
-struct uio_device {
|
|
|
|
- struct module *owner;
|
|
|
|
- struct device *dev;
|
|
|
|
- int minor;
|
|
|
|
- atomic_t event;
|
|
|
|
- struct fasync_struct *async_queue;
|
|
|
|
- wait_queue_head_t wait;
|
|
|
|
- struct uio_info *info;
|
|
|
|
- struct kobject *map_dir;
|
|
|
|
- struct kobject *portio_dir;
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
static int uio_major;
|
|
static int uio_major;
|
|
static struct cdev *uio_cdev;
|
|
static struct cdev *uio_cdev;
|
|
static DEFINE_IDR(uio_idr);
|
|
static DEFINE_IDR(uio_idr);
|