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);
Code:
extern struct abc *x;
are the above codes correct?
can sumone plz correct me. any help appreciated. ty