Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tape_class.h File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/major.h>
#include <linux/cdev.h>
#include <linux/device.h>
#include <linux/kdev_t.h>

Go to the source code of this file.

Data Structures

struct  tape_class_device
 

Macros

#define TAPECLASS_NAME_LEN   32
 

Functions

struct tape_class_deviceregister_tape_dev (struct device *device, dev_t dev, const struct file_operations *fops, char *device_name, char *node_name)
 
void unregister_tape_dev (struct device *device, struct tape_class_device *tcd)
 

Macro Definition Documentation

#define TAPECLASS_NAME_LEN   32

Definition at line 21 of file tape_class.h.

Function Documentation

struct tape_class_device* register_tape_dev ( struct device device,
dev_t  dev,
const struct file_operations fops,
char device_name,
char node_name 
)
read

Definition at line 41 of file tape_class.c.

void unregister_tape_dev ( struct device device,
struct tape_class_device tcd 
)

Definition at line 106 of file tape_class.c.