beginner of a driver-developer

From: dongzai007
Date: Thu May 06 2004 - 08:07:03 EST


I am a beginner of a driver-developer.
I got some problems.

you know some structs such as "file_operation" were defined in Header Files.when I define a struct in .C files,i always got errors below:

fops has an incomplete type
storage size of 'fops' isn't known

In my .C files , I defined as followed:

.....................
struct file_operation fops;
.....................

How can i solve this sort of problems. Thank you.

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