hello
i am a newbie, i know about exporting variables between modules,
but what i am trying right now is to export a structure( i want to make a
global structure)
i wrote this in one module.....
 Code:

struct abc{
int y;
int a[10];
int *z[10];
};
struct abc *x;
EXPORT_SYMBOL(x);

then i tried to use it in another module like this

 Code:

extern struct abc *x;

but it didnt work,derefrencing errors ....

are the above codes correct?

can sumone plz correct me. any help appreciated. ty

Reply via email to