aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/tape_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/char/tape_proc.c')
-rw-r--r--drivers/s390/char/tape_proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/tape_proc.c b/drivers/s390/char/tape_proc.c
index c9b96d51b28f..0c39636b2174 100644
--- a/drivers/s390/char/tape_proc.c
+++ b/drivers/s390/char/tape_proc.c
@@ -125,7 +125,7 @@ tape_proc_init(void)
125{ 125{
126 tape_proc_devices = 126 tape_proc_devices =
127 create_proc_entry ("tapedevices", S_IFREG | S_IRUGO | S_IWUSR, 127 create_proc_entry ("tapedevices", S_IFREG | S_IRUGO | S_IWUSR,
128 &proc_root); 128 NULL);
129 if (tape_proc_devices == NULL) { 129 if (tape_proc_devices == NULL) {
130 PRINT_WARN("tape: Cannot register procfs entry tapedevices\n"); 130 PRINT_WARN("tape: Cannot register procfs entry tapedevices\n");
131 return; 131 return;
@@ -141,5 +141,5 @@ void
141tape_proc_cleanup(void) 141tape_proc_cleanup(void)
142{ 142{
143 if (tape_proc_devices != NULL) 143 if (tape_proc_devices != NULL)
144 remove_proc_entry ("tapedevices", &proc_root); 144 remove_proc_entry ("tapedevices", NULL);
145} 145}