/* This ensures that a struct parport pointer remains valid until the matching parport_put_port() call.  */
struct parport* parport_get_port(struct parport *port)
/* This ensures that a struct parport pointer remains valid until the matching parport_put_port() call.  */
struct parport* parport_get_port(struct parport *port)
{
	atomic_inc (&port->ref_count);
	return port;
}