Sysfs with no struc device ?

From: Ayman KHAMOUMA
Date: Tue Mar 31 2009 - 12:37:43 EST


Hi everybody,

I'm trying to write a module which is supposed to write the state of a pin in a sysfs file.
As it is neither a char device nor a block device, or anything else, I suposed taht I don't need any struct device...I mau be mistaking...
So my question is:
How can I create this file in sysfs without any struct device ?


Regards,
Ayman

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