summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/cm.c
diff options
context:
space:
mode:
authorPaul Gortmaker2011-05-27 21:35:46 +0200
committerPaul Gortmaker2011-11-01 00:31:35 +0100
commite4dd23d753c3cb0d8533d353069e8b2e8a666360 (patch)
tree8c28dcf2675a55549689fdee90f8ec0a2fb23cf8 /drivers/infiniband/core/cm.c
parentinfiniband: Fix up users implicitly relying on getting stat.h (diff)
downloadkernel-qcow2-linux-e4dd23d753c3cb0d8533d353069e8b2e8a666360.tar.gz
kernel-qcow2-linux-e4dd23d753c3cb0d8533d353069e8b2e8a666360.tar.xz
kernel-qcow2-linux-e4dd23d753c3cb0d8533d353069e8b2e8a666360.zip
infiniband: Fix up module files that need to include module.h
They had been getting it implicitly via device.h but we can't rely on that for the future, due to a pending cleanup so fix it now. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/infiniband/core/cm.c')
-rw-r--r--drivers/infiniband/core/cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c
index fc0f2bd9ca82..82013946efc9 100644
--- a/drivers/infiniband/core/cm.c
+++ b/drivers/infiniband/core/cm.c
@@ -36,6 +36,7 @@
#include <linux/completion.h>
#include <linux/dma-mapping.h>
#include <linux/device.h>
+#include <linux/module.h>
#include <linux/err.h>
#include <linux/idr.h>
#include <linux/interrupt.h>