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
pls can anybody
help
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