Hello everybody!
I am trying to modify "pcspkr" driver undere linux kernel source tree. I added
a new line there:
sample_id_dir = kobject_create_and_add("devices/platform/pcspkr/sample", NULL);
It works and creates kobject without errors. I checked this in the driver code
and in the dmesg output. But "sample" catalog isn't appear under
"/sys/devices/platform/pcspkr/".
What is wrong with that code ?
Thanks in advance,
Roman Storozhenko
_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies