linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rama Krishna Mandava" <ramakrishna.mandava@wipro.com>
To: linux-kernel@vger.kernel.org
Subject: params of register_netdev
Date: Mon, 12 Mar 2001 15:39:02 +0530	[thread overview]
Message-ID: <01031215464802.06445@elinux.wipsys> (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



                 reply	other threads:[~2001-03-12  4:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01031215464802.06445@elinux.wipsys \
    --to=ramakrishna.mandava@wipro.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).