I
InuY4sha
Hi all 
sorry.. I know this is a very mean question but I can't get the
following couple of lines:
static int dev_init(struct net_device *dev);
struct net_device my_device = { init: dev_init, };
To me it looks something like defining a function and creating a
structure that stores a label referencing that function.. what's the
scope behind this ?
Also I don't get the comma after "dev_init"...
Can somebody explain me this sintax please ?
Thanks in advance,
RM
sorry.. I know this is a very mean question but I can't get the
following couple of lines:
static int dev_init(struct net_device *dev);
struct net_device my_device = { init: dev_init, };
To me it looks something like defining a function and creating a
structure that stores a label referencing that function.. what's the
scope behind this ?
Also I don't get the comma after "dev_init"...
Can somebody explain me this sintax please ?
Thanks in advance,
RM