Messages in this thread Patch in this message | | | Date | Thu, 08 Apr 2004 15:46:55 -0700 | From | Hanna Linder <> | Subject | Re: [PATCH 2.6.5] Add sysfs class support to fs/coda/psdev.c |
| |
--On Friday, April 09, 2004 12:02:19 AM +0200 Marcel Holtmann <marcel@holtmann.org> 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:
diff -Nrup -Xdontdiff 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-08 15:37:06.000000000 -0700 +++ linux-2.6.5p/fs/coda/psdev.c 2004-04-08 15:37:15.000000000 -0700 @@ -62,7 +62,7 @@ unsigned long coda_timeout = 30; /* .. s 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |