aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp')
-rw-r--r--drivers/pnp/isapnp/proc.c2
-rw-r--r--drivers/pnp/pnpbios/proc.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pnp/isapnp/proc.c b/drivers/pnp/isapnp/proc.c
index 2b8266c3d40f..e1d1f2a10947 100644
--- a/drivers/pnp/isapnp/proc.c
+++ b/drivers/pnp/isapnp/proc.c
@@ -116,7 +116,7 @@ int __init isapnp_proc_init(void)
116{ 116{
117 struct pnp_dev *dev; 117 struct pnp_dev *dev;
118 118
119 isapnp_proc_bus_dir = proc_mkdir("isapnp", proc_bus); 119 isapnp_proc_bus_dir = proc_mkdir("bus/isapnp", NULL);
120 protocol_for_each_dev(&isapnp_protocol, dev) { 120 protocol_for_each_dev(&isapnp_protocol, dev) {
121 isapnp_proc_attach_device(dev); 121 isapnp_proc_attach_device(dev);
122 } 122 }
diff --git a/drivers/pnp/pnpbios/proc.c b/drivers/pnp/pnpbios/proc.c
index bb19bc957bad..46d506f66259 100644
--- a/drivers/pnp/pnpbios/proc.c
+++ b/drivers/pnp/pnpbios/proc.c
@@ -256,7 +256,7 @@ int pnpbios_interface_attach_device(struct pnp_bios_node *node)
256 */ 256 */
257int __init pnpbios_proc_init(void) 257int __init pnpbios_proc_init(void)
258{ 258{
259 proc_pnp = proc_mkdir("pnp", proc_bus); 259 proc_pnp = proc_mkdir("bus/pnp", NULL);
260 if (!proc_pnp) 260 if (!proc_pnp)
261 return -EIO; 261 return -EIO;
262 proc_pnp_boot = proc_mkdir("boot", proc_pnp); 262 proc_pnp_boot = proc_mkdir("boot", proc_pnp);
@@ -294,5 +294,5 @@ void __exit pnpbios_proc_exit(void)
294 remove_proc_entry("configuration_info", proc_pnp); 294 remove_proc_entry("configuration_info", proc_pnp);
295 remove_proc_entry("devices", proc_pnp); 295 remove_proc_entry("devices", proc_pnp);
296 remove_proc_entry("boot", proc_pnp); 296 remove_proc_entry("boot", proc_pnp);
297 remove_proc_entry("pnp", proc_bus); 297 remove_proc_entry("bus/pnp", NULL);
298} 298}