kobject question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux