register_chrdev problem!!

Ramon Turnes Perez (elreal@usc.es)
Mon, 18 Mar 1996 19:49:09 +0100 (MET)


When I load my device driver with ismod the initialization fails
in the register_chrdev function. The major number is defined in
/usr/include/linux/major.h and I think my fops structure is OK:

static struct file_operations avs_fops=
{
NULL, /* */
NULL, /* */
NULL, /* */
NULL, /* */
NULL, /* */
NULL, /* ioctl */
NULL, /* */
avs_open, /* open */
avs_close, /* close */
NULL, /* */
NULL, /* */
NULL, /* */
NULL /* */
};

***************************************************************
* Ramon Turnes Perez *
* Departamento de Electronica e Computacion *
* Universidade de Santiago *
* Spain *
* e-mail: elreal@usc.es *
* Telefono: (981) 563100 ext: 3571 *
***************************************************************