Re: [PATCH 2.6.5] Add sysfs class support to fs/coda/psdev.c

From: Marcel Holtmann
Date: Thu Apr 08 2004 - 17:04:42 EST


Hi Hanna,

> Here is the fixed patch:
>
> diff -Nrup linux-2.6.5/fs/coda/psdev.c linux-2.6.5p/fs/coda/psdev.c
> --- linux-2.6.5/fs/coda/psdev.c 2004-04-03 19:37:36.000000000 -0800
> +++ linux-2.6.5p/fs/coda/psdev.c 2004-04-08 14:05:51.000000000 -0700
> @@ -37,6 +37,7 @@
> #include <linux/init.h>
> #include <linux/list.h>
> #include <linux/smp_lock.h>
> +#include <linux/device.h>
> #include <asm/io.h>
> #include <asm/system.h>
> #include <asm/poll.h>
> @@ -61,6 +62,7 @@ unsigned long coda_timeout = 30; /* .. s
>
>
> struct venus_comm coda_comms[MAX_CODADEVS];
> +static struct class_simple coda_psdev_class;

I think coda_psdev_class must be a pointer.

Regards

Marcel


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