]> err.no Git - linux-2.6/commitdiff
parport/share.c: proper externs
authorAdrian Bunk <bunk@kernel.org>
Sat, 26 Jul 2008 02:44:54 +0000 (19:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:03 +0000 (12:00 -0700)
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>
drivers/parport/procfs.c
include/linux/parport.h

index d950fc34320a61e21a32f9a8b4dc928f9fcc365a..554e11f9e1cea9705ab4b54fa43ea9c60f33d558 100644 (file)
@@ -429,9 +429,6 @@ struct parport_default_sysctl_table
        ctl_table dev_dir[2];
 };
 
-extern unsigned long parport_default_timeslice;
-extern int parport_default_spintime;
-
 static struct parport_default_sysctl_table
 parport_default_sysctl_table = {
        .sysctl_header  = NULL,
index dcb9e01a69ca9672879be141eb7d449b3297445b..6a0d7cdb577465a84bf5ccf3ef8ff0b86edc4002 100644 (file)
@@ -560,5 +560,8 @@ extern int parport_device_proc_unregister(struct pardevice *device);
 
 #endif /*  !CONFIG_PARPORT_NOT_PC  */
 
+extern unsigned long parport_default_timeslice;
+extern int parport_default_spintime;
+
 #endif /* __KERNEL__ */
 #endif /* _PARPORT_H_ */