aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-08-10 21:01:24 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 11:59:01 -0400
commitb2045240058381088e6e367e5f54b2a8bed931e1 (patch)
tree8782c2db7d4b8a52778a7d0804ebb03b81201d82 /drivers/scsi
parent083c8c1e60e5c27a277e87dbeb6b89b47937559f (diff)
scsi: fix pmcraid build errors
pmcraid should depend on NET since it uses netlink interfaces. This fixes multiple build errors when CONFIG_NET is not enabled: ERROR: "genl_register_family" [drivers/scsi/pmcraid.ko] undefined! ERROR: "genl_unregister_family" [drivers/scsi/pmcraid.ko] undefined! ERROR: "nla_put" [drivers/scsi/pmcraid.ko] undefined! ERROR: "init_net" [drivers/scsi/pmcraid.ko] undefined! ERROR: "__alloc_skb" [drivers/scsi/pmcraid.ko] undefined! ERROR: "netlink_broadcast" [drivers/scsi/pmcraid.ko] undefined! ERROR: "kfree_skb" [drivers/scsi/pmcraid.ko] undefined! ERROR: "skb_put" [drivers/scsi/pmcraid.ko] undefined! Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Anil Ravindranath <anil_ravindranath@pmc-sierra.com> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 158284f05732..6466231f338b 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -1853,7 +1853,7 @@ config ZFCP_DIF
1853 1853
1854config SCSI_PMCRAID 1854config SCSI_PMCRAID
1855 tristate "PMC SIERRA Linux MaxRAID adapter support" 1855 tristate "PMC SIERRA Linux MaxRAID adapter support"
1856 depends on PCI && SCSI 1856 depends on PCI && SCSI && NET
1857 ---help--- 1857 ---help---
1858 This driver supports the PMC SIERRA MaxRAID adapters. 1858 This driver supports the PMC SIERRA MaxRAID adapters.
1859 1859