Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove redundant redeclarations of uart_s3c2410_class in

sys/arm/s3c2xx0/uart_bus_s3c2410.c and uart_cpu_s3c2410.c, to silence
two gcc warnings.

Approved by:	re (gjb)
X-MFC-With:	r252394
  • Loading branch information...
commit d9be36d380f1665eef027eaef6b74dfe986b6e6a 1 parent 0085d0d
@DimitryAndric DimitryAndric authored
View
1  sys/arm/s3c2xx0/uart_bus_s3c2410.c
@@ -35,7 +35,6 @@ static driver_t uart_s3c2410_driver = {
sizeof(struct uart_softc),
};
-extern struct uart_class uart_s3c2410_class;
extern SLIST_HEAD(uart_devinfo_list, uart_devinfo) uart_sysdevs;
static int
uart_s3c2410_probe(device_t dev)
View
2  sys/arm/s3c2xx0/uart_cpu_s3c2410.c
@@ -47,8 +47,6 @@ extern struct uart_ops uart_s3c2410_ops;
vm_offset_t s3c2410_uart_vaddr;
unsigned int s3c2410_pclk;
-extern struct uart_class uart_s3c2410_class;
-
int
uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2)
{
Please sign in to comment.
Something went wrong with that request. Please try again.