nfp: Explicitly include linux/bug.h

Today's -next build encountered an error due to a missing definition of
WARN_ON(), caused by some header reorganization removing an implicit
inclusion of linux/bug.h.  Fix this with an explicit inclusion.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Mark Brown 2017-10-13 03:50:35 +01:00 committed by David S. Miller
parent 7f4e568dd1
commit 4c7787ba3a
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@
* SOFTWARE.
*/
#include <linux/bug.h>
#include <linux/skbuff.h>
#include <linux/slab.h>

View File

@ -35,6 +35,7 @@
#define __NFP_ASM_H__ 1
#include <linux/bitfield.h>
#include <linux/bug.h>
#include <linux/types.h>
#define REG_NONE 0