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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user