Searched refs:virtual_dir (Results 1 – 2 of 2) sorted by relevance
1263 struct kobject *virtual_dir; in subsys_virtual_register() local1265 virtual_dir = virtual_device_parent(NULL); in subsys_virtual_register()1266 if (!virtual_dir) in subsys_virtual_register()1269 return subsys_register(subsys, groups, virtual_dir); in subsys_virtual_register()
719 static struct kobject *virtual_dir = NULL; in virtual_device_parent() local721 if (!virtual_dir) in virtual_device_parent()722 virtual_dir = kobject_create_and_add("virtual", in virtual_device_parent()725 return virtual_dir; in virtual_device_parent()