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 ensures that a struct parport pointer remains valid until the matching parport_put_port call.