summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2004-03-02 19:07:49 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-03-02 19:07:49 -0800
commit50f734efbce723e055aeef7faf6f08946fb46624 (patch)
treee9a8703d6b6a2d856f4fda8b3d22dd6383825864 /include
parent9d247f297829952ac0e2c39bfad01a7462d66091 (diff)
[PATCH] parport: get rid of parport_enumerate
parport_enumerate() is gone. The last caller was under ifdef that never had been true. Function itself is removed, port list handling cleaned up (now we can do that, since drivers don't mess with the list directly), tons of racy crap removed from parport/share.c
Diffstat (limited to 'include')
-rw-r--r--include/linux/parport.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/parport.h b/include/linux/parport.h
index ddfd7a3f9daf..c0aa7835100f 100644
--- a/include/linux/parport.h
+++ b/include/linux/parport.h
@@ -294,7 +294,7 @@ struct parport {
struct pardevice *waithead;
struct pardevice *waittail;
- struct parport *next;
+ struct list_head list;
unsigned int flags;
void *sysctl_table;
@@ -342,11 +342,6 @@ void parport_announce_port (struct parport *port);
/* Unregister a port. */
extern void parport_remove_port(struct parport *port);
-/* parport_enumerate returns a pointer to the linked list of all the
- ports in this machine. DON'T USE THIS. Use
- parport_register_driver instead. */
-struct parport *parport_enumerate(void);
-
/* Register a new high-level driver. */
extern int parport_register_driver (struct parport_driver *);