net/bnxt: fix build with some compilers
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 14 Jun 2019 04:20:57 +0000 (09:50 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 14 Jun 2019 06:55:38 +0000 (15:55 +0900)
commit07517400c4740397477153910edee38268294031
treede96aa8bf69b63ef79dfebefdf6ecf2549288e77
parente28111ac9864af09e826241a915dfff87a9c00ad
net/bnxt: fix build with some compilers

The driver was defining its own version of roundup which was
conflicting with another version defined elsewhere.

Change the local definition of roundup to avoid compilation errors.

Fixes: f8168ca0e690 ("net/bnxt: support thor controller")

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c