Re: driver compilations errors

From: Stefan Smietanowski (stefan@hanse.com)
Date: Fri Feb 16 2001 - 06:05:53 EST


Hi.

> iam getting compilation errors for driver code.
>
> struct file_operations my_ops ={NULL,my_read,my_write,NULL,NULL,NULL
> NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
> NULL }; ^^^^
                            ^^
>
> ERROR -> my_ops has intializer but incomplete type

Well, for one there's no "," between the last "NULL"s...

// Stefan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:12 EST