diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-25 08:43:29 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-26 22:42:13 +0200 |
commit | c9abb9bb0b8451588509192bd53005d65c02986c (patch) | |
tree | 73f376d40d187276777df5b01c10446cc3542db8 | |
parent | target: Remove legacy se_task->task_timer and associated logic (diff) | |
download | linux-c9abb9bb0b8451588509192bd53005d65c02986c.tar.xz linux-c9abb9bb0b8451588509192bd53005d65c02986c.zip |
target: Fix compile warning w/ missing module.h include
This patch fixes the following compile warning in target_core_cdb.c in
recent linux-next code due to the new use of EXPORT_SYMBOL() for
target_get_task_cdb().
drivers/target/target_core_cdb.c:1316: warning: data definition has no type or storage class
drivers/target/target_core_cdb.c:1316: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
drivers/target/target_core_cdb.c:1316: warning: parameter names (without types) in function declaration
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
-rw-r--r-- | drivers/target/target_core_cdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/target/target_core_cdb.c b/drivers/target/target_core_cdb.c index 575cf7216f52..38535eb13929 100644 --- a/drivers/target/target_core_cdb.c +++ b/drivers/target/target_core_cdb.c @@ -24,6 +24,7 @@ */ #include <linux/kernel.h> +#include <linux/module.h> #include <asm/unaligned.h> #include <scsi/scsi.h> |