[SCSI] cnic: fix undefined reference to `ip6_route_output'
commitfaea56c9bb44f539da1ae0194184873fc2720b20
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 12 Jun 2009 18:43:48 +0000 (12 11:43 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 13 Jun 2009 14:06:10 +0000 (13 09:06 -0500)
treeed3e9c02574c3d1d441093a23b117462cb4ed4b9
parentf3ad116588151b3371ae4e092290e4f48e62b8bb
[SCSI] cnic: fix undefined reference to `ip6_route_output'

Fix cnic build for case of CONFIG_INET=n.
Fix cnic build for case of CONFIG_IPV6=m and CONFIG_CNIC=y.

Fixes these build errors:

cnic.c:(.text+0x236a1d): undefined reference to `ip_route_output_key'
cnic.c:(.text+0x15a8e8): undefined reference to `ip6_route_output'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/net/cnic.c