neta: clk code ifdef'd aarch64

So #ifdef the clk.h include aarch64. Otherwise the right kernel options
aren't always present.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-01-04 15:59:00 -07:00
parent c47e2e5170
commit b4dda138e8

View File

@ -65,7 +65,9 @@ __FBSDID("$FreeBSD$");
#include <sys/rman.h>
#include <machine/resource.h>
#if defined(__aarch64__)
#include <dev/extres/clk/clk.h>
#endif
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>