diff options
Diffstat (limited to 'drivers/misc/hdpuftrs/hdpu_nexus.c')
-rw-r--r-- | drivers/misc/hdpuftrs/hdpu_nexus.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/misc/hdpuftrs/hdpu_nexus.c b/drivers/misc/hdpuftrs/hdpu_nexus.c index 2fa36f7a6eb3..e92b7efccc72 100644 --- a/drivers/misc/hdpuftrs/hdpu_nexus.c +++ b/drivers/misc/hdpuftrs/hdpu_nexus.c | |||
@@ -102,8 +102,8 @@ static int hdpu_nexus_probe(struct platform_device *pdev) | |||
102 | printk(KERN_ERR "sky_nexus: Could not map slot id\n"); | 102 | printk(KERN_ERR "sky_nexus: Could not map slot id\n"); |
103 | } | 103 | } |
104 | 104 | ||
105 | hdpu_slot_id = create_proc_entry("sky_slot_id", 0666, &proc_root); | 105 | hdpu_slot_id = create_proc_entry("sky_slot_id", 0666, NULL); |
106 | if (!hdpu_slot_id) { | 106 | if (!hdpu_slot_id) |
107 | printk(KERN_WARNING "sky_nexus: " | 107 | printk(KERN_WARNING "sky_nexus: " |
108 | "Unable to create proc dir entry: sky_slot_id\n"); | 108 | "Unable to create proc dir entry: sky_slot_id\n"); |
109 | } else { | 109 | } else { |
@@ -111,8 +111,8 @@ static int hdpu_nexus_probe(struct platform_device *pdev) | |||
111 | hdpu_slot_id->owner = THIS_MODULE; | 111 | hdpu_slot_id->owner = THIS_MODULE; |
112 | } | 112 | } |
113 | 113 | ||
114 | hdpu_chassis_id = create_proc_entry("sky_chassis_id", 0666, &proc_root); | 114 | hdpu_chassis_id = create_proc_entry("sky_chassis_id", 0666, NULL); |
115 | if (!hdpu_chassis_id) { | 115 | if (!hdpu_chassis_id) |
116 | printk(KERN_WARNING "sky_nexus: " | 116 | printk(KERN_WARNING "sky_nexus: " |
117 | "Unable to create proc dir entry: sky_chassis_id\n"); | 117 | "Unable to create proc dir entry: sky_chassis_id\n"); |
118 | } else { | 118 | } else { |
@@ -128,8 +128,8 @@ static int hdpu_nexus_remove(struct platform_device *pdev) | |||
128 | slot_id = -1; | 128 | slot_id = -1; |
129 | chassis_id = -1; | 129 | chassis_id = -1; |
130 | 130 | ||
131 | remove_proc_entry("sky_slot_id", &proc_root); | 131 | remove_proc_entry("sky_slot_id", NULL); |
132 | remove_proc_entry("sky_chassis_id", &proc_root); | 132 | remove_proc_entry("sky_chassis_id", NULL); |
133 | 133 | ||
134 | hdpu_slot_id = 0; | 134 | hdpu_slot_id = 0; |
135 | hdpu_chassis_id = 0; | 135 | hdpu_chassis_id = 0; |