mlx4: Fix compile error when driver is comiled-in
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 15 Dec 2011 06:48:37 +0000 (06:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Dec 2011 20:28:10 +0000 (15:28 -0500)
commitcb9ffb76949cd7b17c8468f8bf10d0ff75d4cdd2
treea5f2b750f2f9a4fa3b11655f0c33433c3ad85dd8
parent4721d22160c2d37a2e8a0841578bbe8a937b7000
mlx4: Fix compile error when driver is comiled-in

This patch fixes a compile error that occurs when the driver
is compile into the kernel and not as a module.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/port.c