aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-10-29 01:46:03 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-29 13:35:07 -0400
commit2d3c0b7bedfd7a8e1870a046a434bd467e7c5349 (patch)
tree1073d1e05f604faeebbde344a0d4e624fc116d65 /drivers
parent4b4a5eaedfc098d825d4c34cad1f1115802512b7 (diff)
[PATCH] missing include in infiniband
use of IS_ERR/PTR_ERR in infiniband/core/agent.c, without a portable chain of includes pulling err.h (breaks on a bunch of platforms). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/core/agent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/agent.h b/drivers/infiniband/core/agent.h
index c5f3cfec942a..86d72fab37b0 100644
--- a/drivers/infiniband/core/agent.h
+++ b/drivers/infiniband/core/agent.h
@@ -39,6 +39,7 @@
39#ifndef __AGENT_H_ 39#ifndef __AGENT_H_
40#define __AGENT_H_ 40#define __AGENT_H_
41 41
42#include <linux/err.h>
42#include <rdma/ib_mad.h> 43#include <rdma/ib_mad.h>
43 44
44extern int ib_agent_port_open(struct ib_device *device, int port_num); 45extern int ib_agent_port_open(struct ib_device *device, int port_num);