From: Russell King Date: Tue, 7 Feb 2017 23:03:01 +0000 (-0800) Subject: iscsi: fix build errors when linux/phy*.h is removed from net/dsa.h X-Git-Tag: v5.15~11849^2~151^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=da5df6205b9c493b9367dab057b0f80da46a0fdb;p=mirror_ubuntu-kernels.git 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 Reviewed-by: Bart Van Assche Acked-by: Nicholas Bellinger Signed-off-by: David S. Miller --- 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 +#include #include #include #include