---
name: "uart_remove_one_port"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/uart_remove_one_port"
---

# uart\_remove\_one\_port(9)

detach a driver defined port structure

## NAME

uart\_remove\_one\_port - detach a driver defined port structure

## SYNOPSIS

**int uart\_remove\_one\_port(struct uart\_driver \*** *drv***, struct uart\_port \*** *uport***);**

## ARGUMENTS

*drv*

pointer to the uart low level driver structure for this port

*uport*

uart port structure for this port

## DESCRIPTION

This unhooks (and hangs up) the specified port structure from the core driver. No further calls will be made to the low-level code for this port.

## COPYRIGHT
