linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe W Damasio <felipewd@terra.com.br>
To: torvalds@osdl.org, akpm@osdl.org, linux-kernel@vger.kernel.org
Cc: gerg@snapgear.com, support@stallion.oz.au
Subject: [PATCH] drivers/char/stallion.c: devfs_mk_cdev fix
Date: Wed, 30 Jul 2003 11:42:43 -0300	[thread overview]
Message-ID: <3F27D963.9040609@terra.com.br> (raw)

[-- Attachment #1: Type: text/plain, Size: 137 bytes --]

	Hi,

	devfs_mk_cdev now only takes 3 parameters (dev_t, umode_t, fmt..), so 
update this driver to the new API.

	Please apply,

Felipe

[-- Attachment #2: stallion-devfs_fix.patch --]
[-- Type: text/plain, Size: 382 bytes --]

--- linux-2.6.0-test2/drivers/char/stallion.c.orig	Wed Jul 30 11:38:08 2003
+++ linux-2.6.0-test2/drivers/char/stallion.c	Wed Jul 30 11:37:51 2003
@@ -3173,7 +3171,7 @@
 	for (i = 0; i < 4; i++) {
 		devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i),
 				S_IFCHR|S_IRUSR|S_IWUSR,
-				&stl_fsiomem, NULL, "staliomem/%d", i);
+				"staliomem/%d", i);
 	}
 
 	stl_serial->owner = THIS_MODULE;

                 reply	other threads:[~2003-07-30 14:39 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=3F27D963.9040609@terra.com.br \
    --to=felipewd@terra.com.br \
    --cc=akpm@osdl.org \
    --cc=gerg@snapgear.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=support@stallion.oz.au \
    --cc=torvalds@osdl.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).