net/ena: fix FreeBSD build
authorMichal Krawczyk <mk@semihalf.com>
Tue, 19 Jun 2018 07:58:20 +0000 (09:58 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 19 Jun 2018 08:20:01 +0000 (10:20 +0200)
commit9d7ee7fc689cabc085106579c2842cf2231e360a
tree629856a7ffa812ba8979f533d84a33150a039c0e
parenta66a83744667f31ee97e18eefa90105c462ed81b
net/ena: fix FreeBSD build

The FreeBSD define was removed from platform file when HAL was upgraded
to newer version.

In file included from drivers/net/ena/ena_ethdev.c:45:
from drivers/net/ena/ena_ethdev.h:42:
from drivers/net/ena/base/ena_com.h:37:
drivers/net/ena/base/ena_plat.h:48:2: error: "Invalid platform"

Fixes: 3adcba9a8987 ("net/ena: update HAL to the newer version")

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/base/ena_plat.h