* [PATCH] drivers/char/stallion.c: devfs_mk_cdev fix
@ 2003-07-30 14:42 Felipe W Damasio
0 siblings, 0 replies; only message in thread
From: Felipe W Damasio @ 2003-07-30 14:42 UTC (permalink / raw)
To: torvalds, akpm, linux-kernel; +Cc: gerg, support
[-- 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-30 14:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-30 14:42 [PATCH] drivers/char/stallion.c: devfs_mk_cdev fix Felipe W Damasio
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).