mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
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
This commit is contained in:
parent
8ba0396077
commit
98c28062e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256196
@ -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)
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user