diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2026-04-27 06:57:13 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2026-04-27 06:57:13 +0000 |
| commit | c73cd9ca3ff875a65b6969b7183eb7fcdb23857c (patch) | |
| tree | 1e63e95037792e3132c6c0cded829d6ec8dabdde | |
| parent | 221b1d4156a2bfe71a473e5abf6a739c063e60d8 (diff) | |
if_awg: Add missing awg_poll() prototype
The function awg_poll() was missing a prototype, which causes the build
to fail if DEVICE_POLLING is enabled, which it is in the ARMADAXP config.
MFC after: 2 weeks
Reviewed by: tuexen, mmel, adrian
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D56651
| -rw-r--r-- | sys/arm/allwinner/if_awg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/allwinner/if_awg.c b/sys/arm/allwinner/if_awg.c index d5a6fdb96192..3459779743ba 100644 --- a/sys/arm/allwinner/if_awg.c +++ b/sys/arm/allwinner/if_awg.c @@ -226,6 +226,9 @@ static uint32_t syscon_read_emac_clk_reg(device_t dev); static void syscon_write_emac_clk_reg(device_t dev, uint32_t val); static phandle_t awg_get_phy_node(device_t dev); static bool awg_has_internal_phy(device_t dev); +#ifdef DEVICE_POLLING +static int awg_poll(if_t ifp, enum poll_cmd cmd, int count); +#endif /* * MII functions |
