Commit 2d28f76f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Compaq PCI Hotplug controller driver:

	- changed proc entry creation to use the proper parent directory variable.
parent 280cff9d
...@@ -177,7 +177,7 @@ int cpqhp_proc_remove_ctrl (struct controller *ctrl) ...@@ -177,7 +177,7 @@ int cpqhp_proc_remove_ctrl (struct controller *ctrl)
int cpqhp_proc_init_ctrl (void) int cpqhp_proc_init_ctrl (void)
{ {
ctrl_proc_root = proc_mkdir("driver/hpc", NULL); ctrl_proc_root = proc_mkdir("hpc", proc_root_driver);
if (!ctrl_proc_root) if (!ctrl_proc_root)
return -ENOMEM; return -ENOMEM;
ctrl_proc_root->owner = THIS_MODULE; ctrl_proc_root->owner = THIS_MODULE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment