Commit b2045240058381088e6e367e5f54b2a8bed931e1

Authored by Randy Dunlap
Committed by Linus Torvalds
1 parent 083c8c1e60

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/scsi/Kconfig
... ... @@ -1853,7 +1853,7 @@
1853 1853  
1854 1854 config SCSI_PMCRAID
1855 1855 tristate "PMC SIERRA Linux MaxRAID adapter support"
1856   - depends on PCI && SCSI
  1856 + depends on PCI && SCSI && NET
1857 1857 ---help---
1858 1858 This driver supports the PMC SIERRA MaxRAID adapters.
1859 1859