2004-04-08 23:22:41

by Hanna Linder

[permalink] [raw]
Subject: [PATCH 2.6.5] Fix for patch to add class support to stallion.c


Oops. Realized I had a / in the file name in this patch too.

Please apply to correct it:

diff -Nrup -Xdontdiff linux-2.6.5/drivers/char/stallion.c linux-2.6.5p/drivers/char/stallion.c
--- linux-2.6.5/drivers/char/stallion.c 2004-04-08 16:14:33.000000000 -0700
+++ linux-2.6.5p/drivers/char/stallion.c 2004-04-08 16:16:11.000000000 -0700
@@ -3192,7 +3192,7 @@ int __init stl_init(void)
devfs_mk_cdev(MKDEV(STL_SIOMEMMAJOR, i),
S_IFCHR|S_IRUSR|S_IWUSR,
"staliomem/%d", i);
- class_simple_device_add(stallion_class, MKDEV(STL_SIOMEMMAJOR, i), NULL, "staliomem/%d", i);
+ class_simple_device_add(stallion_class, MKDEV(STL_SIOMEMMAJOR, i), NULL, "staliomem%d", i);
}

stl_serial->owner = THIS_MODULE;


2004-04-09 19:05:45

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH 2.6.5] Fix for patch to add class support to stallion.c

On Thu, Apr 08, 2004 at 04:22:03PM -0700, Hanna Linder wrote:
>
> Oops. Realized I had a / in the file name in this patch too.
>
> Please apply to correct it:

Applied, thanks.

greg k-h