diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-25 22:44:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-26 15:00:03 -0400 |
commit | 929dfb24fbcd60e2544b2de7bfb4a68da4dfc747 (patch) | |
tree | 5b67ea8f6c75ae199d2d7542645517152fe07e1c | |
parent | 3f165e4cf2af042af7d2440d688299c0d2a48b1f (diff) |
parport/share.c: proper externs
This patch adds proper externs for parport_default_timeslice and
parport_default_spintime in include/linux/parport.h
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/parport/procfs.c | 3 | ||||
-rw-r--r-- | include/linux/parport.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/parport/procfs.c b/drivers/parport/procfs.c index d950fc34320a..554e11f9e1ce 100644 --- a/drivers/parport/procfs.c +++ b/drivers/parport/procfs.c | |||
@@ -429,9 +429,6 @@ struct parport_default_sysctl_table | |||
429 | ctl_table dev_dir[2]; | 429 | ctl_table dev_dir[2]; |
430 | }; | 430 | }; |
431 | 431 | ||
432 | extern unsigned long parport_default_timeslice; | ||
433 | extern int parport_default_spintime; | ||
434 | |||
435 | static struct parport_default_sysctl_table | 432 | static struct parport_default_sysctl_table |
436 | parport_default_sysctl_table = { | 433 | parport_default_sysctl_table = { |
437 | .sysctl_header = NULL, | 434 | .sysctl_header = NULL, |
diff --git a/include/linux/parport.h b/include/linux/parport.h index dcb9e01a69ca..6a0d7cdb5774 100644 --- a/include/linux/parport.h +++ b/include/linux/parport.h | |||
@@ -560,5 +560,8 @@ extern int parport_device_proc_unregister(struct pardevice *device); | |||
560 | 560 | ||
561 | #endif /* !CONFIG_PARPORT_NOT_PC */ | 561 | #endif /* !CONFIG_PARPORT_NOT_PC */ |
562 | 562 | ||
563 | extern unsigned long parport_default_timeslice; | ||
564 | extern int parport_default_spintime; | ||
565 | |||
563 | #endif /* __KERNEL__ */ | 566 | #endif /* __KERNEL__ */ |
564 | #endif /* _PARPORT_H_ */ | 567 | #endif /* _PARPORT_H_ */ |