In the Linux kernel, given the module, how can I find out if this is kobject?
Context: I'm trying to make sysfs_create_file (kobj, attr) in a kernel module. I have a whole set of attributes, but I want to add an attribute to the current module.
source
share