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 SUN_MOUSE_MINOR 6
   9 #define MISC_DYNAMIC_MINOR 255
  10 
  11 extern int misc_init(void);
  12 
  13 struct miscdevice 
  14 {
  15         int minor;
  16         const char *name;
  17         struct file_operations *fops;
  18         struct miscdevice * next, * prev;
  19 };
  20 
  21 extern int misc_register(struct miscdevice * misc);
  22 extern int misc_deregister(struct miscdevice * misc);
  23 
  24 #endif

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