Skip to content

Commit

Permalink
staging: octeon-ethernet: Add missing #includes.
Browse files Browse the repository at this point in the history
I looks like something used to implicitly include linux/interrupt.h,
and no longer does.  Fix the resulting build error by explicitly
including it.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
David Daney authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent 1dcab08 commit 048316b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/octeon/ethernet-rgmii.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
**********************************************************************/
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/interrupt.h>
#include <linux/phy.h>
#include <linux/ratelimit.h>
#include <net/dst.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/octeon/ethernet-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
**********************************************************************/
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/interrupt.h>
#include <net/dst.h>

#include <asm/octeon/octeon.h>
Expand Down

0 comments on commit 048316b

Please sign in to comment.