diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-07 15:03:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 13:51:03 -0500 |
commit | da5df6205b9c493b9367dab057b0f80da46a0fdb (patch) | |
tree | d9b45c6a6fb97fda3fbbe101e3a9628bc29f85a0 /drivers/target/iscsi | |
parent | 9303ab2b3402b60f6c39abfdbfa4ce00fce8bee4 (diff) |
iscsi: fix build errors when linux/phy*.h is removed from net/dsa.h
drivers/target/iscsi/iscsi_target_login.c:1135:7: error: implicit declaration of function 'try_module_get' [-Werror=implicit-function-declaration]
Add linux/module.h to iscsi_target_login.c.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/target/iscsi')
-rw-r--r-- | drivers/target/iscsi/iscsi_target_login.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/target/iscsi/iscsi_target_login.c b/drivers/target/iscsi/iscsi_target_login.c index 450f51deb2a2..eab274d17b5c 100644 --- a/drivers/target/iscsi/iscsi_target_login.c +++ b/drivers/target/iscsi/iscsi_target_login.c @@ -17,6 +17,7 @@ ******************************************************************************/ #include <crypto/hash.h> +#include <linux/module.h> #include <linux/string.h> #include <linux/kthread.h> #include <linux/idr.h> |