lkml.org 
[lkml]   [2003]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] drivers/char/stallion.c: devfs_mk_cdev fix
	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
--- 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;
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.036 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site