root/include/linux/miscdevice.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _LINUX_MISCDEVICE_H
   2 #define _LINUX_MISCDEVICE_H
   3 
   4 #define BUSMOUSE_MINOR 0
   5 #define PSMOUSE_MINOR  1
   6 #define MS_BUSMOUSE_MINOR 2
   7 #define ATIXL_BUSMOUSE_MINOR 3
   8 #define MISC_DYNAMIC_MINOR 255
   9 
  10 extern int misc_init(void);
  11 
  12 struct miscdevice 
  13 {
  14         int minor;
  15         const char *name;
  16         struct file_operations *fops;
  17         struct miscdevice * next, * prev;
  18 };
  19 
  20 extern int misc_register(struct miscdevice * misc);
  21 extern int misc_deregister(struct miscdevice * misc);
  22 
  23 #endif

/* [previous][next][first][last][top][bottom][index][help] */