mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Define uart_sa1110_ops and uart_sa1110_classe in .c files instead of spamming
uart_cpu.h
This commit is contained in:
parent
d6301dcdbb
commit
fffcd6531e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129220
@ -46,6 +46,8 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
static int uart_sa1110_probe(device_t dev);
|
||||
|
||||
extern struct uart_class uart_sa1110_class;
|
||||
|
||||
static device_method_t uart_sa1110_methods[] = {
|
||||
/* Device interface */
|
||||
DEVMETHOD(device_probe, uart_sa1110_probe),
|
||||
|
@ -40,6 +40,9 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
bus_space_tag_t uart_bus_space_io;
|
||||
bus_space_tag_t uart_bus_space_mem;
|
||||
|
||||
extern struct uart_ops uart_sa1110_ops;
|
||||
|
||||
int
|
||||
uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user