Greg,

I'm trying to create a simple directory in the sysfs hierarchy following
Documentation/kobject.txt and samples/kobject-example.c.

I have been able to create the subdirectory and attributes but now
I'm stuck.

In the sample, the attribute files all use static data (foo, baz, bar).
Is there any way to pass a pointer to the data needed by the
attributes when using kobject_create_and_add()?

Thanks,
Hartley


_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to