Skip to contentSkip to conversation

driver compilations errors

DISCUSSION Srinivas Surabhi 2 participants 2 messages Feb 16, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi.

Quoted 5 lines

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 }; ^^^^

                            ^^
Quoted 2 lines

ERROR -> my_ops has intializer but incomplete type

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

// Stefan