Commit 3d1e8eab authored by Felipe Damasio's avatar Felipe Damasio Committed by Linus Torvalds

[PATCH] drivers/char/stallion.c: devfs_mk_cdev fix

devfs_mk_cdev now only takes 3 parameters (dev_t, umode_t, fmt..), so
update this driver to the new API.
parent c2022094
...@@ -3173,7 +3173,7 @@ int __init stl_init(void) ...@@ -3173,7 +3173,7 @@ int __init stl_init(void)
for (i = 0; i < 4; i++) { for (i = 0; i < 4; i++) {
devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i), devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i),
S_IFCHR|S_IRUSR|S_IWUSR, S_IFCHR|S_IRUSR|S_IWUSR,
&stl_fsiomem, NULL, "staliomem/%d", i); "staliomem/%d", i);
} }
stl_serial->owner = THIS_MODULE; stl_serial->owner = THIS_MODULE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment