[SCSI] scsi: add Kconfig dependency on NET
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 4 May 2010 17:29:52 +0000 (10:29 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:05:38 +0000 (09:05 -0500)
commit82c57028e4bf6e2755de91b36223f57406746fa8
tree84da758923e51046e337854254bf5224aaa2fa10
parentb38c1e8bd19340e1a5b712287a8d61da26225d5b
[SCSI] scsi: add Kconfig dependency on NET

be2iscsi driver should #include linux/if_ether.h since it uses
sysfs_format_mac().

It should also depend on NET since it selects SCSI_ISCSI_ATTRS,
which depends on NET.

These changes fix a build error when CONFIG_NET is not enabled:
ERROR: "sysfs_format_mac" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/Kconfig
drivers/scsi/be2iscsi/be_main.h