Skip to content

Commit

Permalink
parport/share.c: proper externs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jul 26, 2008
1 parent 3f165e4 commit 929dfb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/parport/procfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions include/linux/parport.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */

0 comments on commit 929dfb2

Please sign in to comment.