]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iscsi: fix build errors when linux/phy*.h is removed from net/dsa.h
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 7 Feb 2017 23:03:01 +0000 (15:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 18:51:03 +0000 (13:51 -0500)
commitda5df6205b9c493b9367dab057b0f80da46a0fdb
treed9b45c6a6fb97fda3fbbe101e3a9628bc29f85a0
parent9303ab2b3402b60f6c39abfdbfa4ce00fce8bee4
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>
drivers/target/iscsi/iscsi_target_login.c