Re: driver compilations errors

Stefan Smietanowski (stefan@hanse.com)
Fri, 16 Feb 2001 12:05:53 +0100


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/