[Top] [All Lists]

[PATCH] netdev: Fix compile error in Octeon MGMT driver.

Subject: [PATCH] netdev: Fix compile error in Octeon MGMT driver.
From: David Daney <>
Date: Thu, 5 Nov 2009 11:38:32 -0800
Cc: David Daney <>
Original-recipient: rfc822;
Explicitly include linux/capability.h.  Under some configurations it
wasn't being indirectly included.

Signed-off-by: David Daney <>
This fixes a minor problem for the (already approved) patches that
Ralf has queued for 2.6.33.  It should probably be added to Ralf's

 drivers/net/octeon/octeon_mgmt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/octeon/octeon_mgmt.c b/drivers/net/octeon/octeon_mgmt.c
index 83a636d..050538b 100644
--- a/drivers/net/octeon/octeon_mgmt.c
+++ b/drivers/net/octeon/octeon_mgmt.c
@@ -6,6 +6,7 @@
  * Copyright (C) 2009 Cavium Networks
+#include <linux/capability.h>
 #include <linux/dma-mapping.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>

<Prev in Thread] Current Thread [Next in Thread>