Skip to contentSkip to conversation

params of register_netdev

DISCUSSION Rama Krishna Mandava 1 participant 1 message Mar 12, 2001

lore
Share & tools
lore
#0 lore raw

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