Re: [PATCH] Driver Core update for 2.6.6-rc1

From: Greg KH
Date: Thu Apr 15 2004 - 13:12:30 EST


ChangeSet 1.1643.36.15, 2004/04/09 11:50:34-07:00, hannal@xxxxxxxxxx

[PATCH] fix sysfs class support to fs/coda/psdev.c

--On Friday, April 09, 2004 12:02:19 AM +0200 Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
>> +static struct class_simple coda_psdev_class;
>
> I think coda_psdev_class must be a pointer.
>
> Regards
>
> Marcel


Doh! I tested on one system and fixed this there. Then accidentally mailed out the
original. Sorry about that. Here is a patch to fix it:


fs/coda/psdev.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/fs/coda/psdev.c b/fs/coda/psdev.c
--- a/fs/coda/psdev.c Thu Apr 15 10:20:22 2004
+++ b/fs/coda/psdev.c Thu Apr 15 10:20:22 2004
@@ -62,7 +62,7 @@


struct venus_comm coda_comms[MAX_CODADEVS];
-static struct class_simple coda_psdev_class;
+static struct class_simple *coda_psdev_class;

/*
* Device operations

-
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/