/**
** MicroArray Corp.
** Author GUQ.
** TIME 2015-04-24 am.
** MAIL guq@microarray.com.cn
**/
#include<linux/init.h>
#include<linux/module.h>
#include<linux/device.h>
#include<linux/fs.h>
#include<linux/kernel.h>
#include<linux/cdev.h>
#define DEV_NAME "auto_create_dev_node_init_test"
#define MOUNT_POINT "test"
#define D_FILE_NAME "test"
#define SLAVE_NUM 1
static int major;
static struct class * cls = NULL;
static struct device * dev_status = NULL;
static struct file *filp = NULL;
static struct inode *inode = NULL;
static struct cdev test_cdev;
static int test_open (struct inode * inode,
struct file * filp){
return 0;
}
** MicroArray Corp.
** Author GUQ.
** TIME 2015-04-24 am.
** MAIL guq@microarray.com.cn
**/
#include<linux/init.h>
#include<linux/module.h>
#include<linux/device.h>
#include<linux/fs.h>
#include<linux/kernel.h>
#include<linux/cdev.h>
#define DEV_NAME "auto_create_dev_node_init_test"
#define MOUNT_POINT "test"
#define D_FILE_NAME "test"
#define SLAVE_NUM 1
static int major;
static struct class * cls = NULL;
static struct device * dev_status = NULL;
static struct file *filp = NULL;
static struct inode *inode = NULL;
static struct cdev test_cdev;
static int test_open (struct inode * inode,
struct file * filp){
return 0;
}