Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/miscdevice.h
Show All 27 Lines | |||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _LINUX_MISCDEVICE_H_ | #ifndef _LINUX_MISCDEVICE_H_ | ||||
#define _LINUX_MISCDEVICE_H_ | #define _LINUX_MISCDEVICE_H_ | ||||
#define MISC_DYNAMIC_MINOR -1 | #define MISC_DYNAMIC_MINOR -1 | ||||
#include <linux/kobject.h> | |||||
#include <linux/device.h> | #include <linux/device.h> | ||||
#include <linux/cdev.h> | #include <linux/cdev.h> | ||||
struct miscdevice { | struct miscdevice { | ||||
const char *name; | const char *name; | ||||
struct device *this_device; | struct device *this_device; | ||||
const struct file_operations *fops; | const struct file_operations *fops; | ||||
struct cdev *cdev; | struct cdev *cdev; | ||||
Show All 33 Lines |