parport_get_port

Name

parport_get_port --  increment a port's reference count

Synopsis

struct parport * parport_get_port (struct parport * port);

Arguments

port

the port

Description

This ensure's that a struct parport pointer remains valid until the matching parport_put_port call.