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
@ -46,6 +46,8 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
static int uart_sa1110_probe(device_t dev);
|
static int uart_sa1110_probe(device_t dev);
|
||||||
|
|
||||||
|
extern struct uart_class uart_sa1110_class;
|
||||||
|
|
||||||
static device_method_t uart_sa1110_methods[] = {
|
static device_method_t uart_sa1110_methods[] = {
|
||||||
/* Device interface */
|
/* Device interface */
|
||||||
DEVMETHOD(device_probe, uart_sa1110_probe),
|
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_io;
|
||||||
bus_space_tag_t uart_bus_space_mem;
|
bus_space_tag_t uart_bus_space_mem;
|
||||||
|
|
||||||
|
extern struct uart_ops uart_sa1110_ops;
|
||||||
|
|
||||||
int
|
int
|
||||||
uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2)
|
uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user