[PATCH] fix ppdev compile breakage

Jeff Garzik (jgarzik@pobox.com)
Wed, 04 Dec 2002 19:50:55 -0500


This is a multi-part message in MIME format.
--------------050601040200000308060007
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Cleaning up after viro ;-)

--------------050601040200000308060007
Content-Type: text/plain;
name="patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch"

--- 1.17/drivers/char/ppdev.c Tue Dec 3 12:53:57 2002
+++ edited/drivers/char/ppdev.c Wed Dec 4 19:49:05 2002
@@ -751,6 +751,8 @@

static int __init ppdev_init (void)
{
+ int i;
+
if (register_chrdev (PP_MAJOR, CHRDEV, &pp_fops)) {
printk (KERN_WARNING CHRDEV ": unable to get major %d\n",
PP_MAJOR);

--------------050601040200000308060007--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/