lkml.org 
[lkml]   [2001]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectparams of register_netdev
Date
hi all,
In my module the code as below ...syntax code from alasandro rubini
...I hope all arguments are not necessary to be initialised ....

struct device my_dev =
{
myne_name,
0,0,0,0,
0x000,
0,
0,0,0,
NULL,
myne_init,
};


int init_module(void)
{
register_netdev(my_dev);
}


the compile error generated is : incompatible type for argument 1 of
'register_netdev'..

Please help me out.

Thank u
srinivas


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

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.023 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site