net/ixgbevf: make array api static const, makes object smaller
[linux-2.6-microblaze.git] / drivers / net / ethernet / intel / ixgbevf / ixgbevf_main.c
index 75e849a..75e93ce 100644 (file)
@@ -2261,12 +2261,14 @@ static void ixgbevf_init_last_counter_stats(struct ixgbevf_adapter *adapter)
 static void ixgbevf_negotiate_api(struct ixgbevf_adapter *adapter)
 {
        struct ixgbe_hw *hw = &adapter->hw;
-       int api[] = { ixgbe_mbox_api_14,
-                     ixgbe_mbox_api_13,
-                     ixgbe_mbox_api_12,
-                     ixgbe_mbox_api_11,
-                     ixgbe_mbox_api_10,
-                     ixgbe_mbox_api_unknown };
+       static const int api[] = {
+               ixgbe_mbox_api_14,
+               ixgbe_mbox_api_13,
+               ixgbe_mbox_api_12,
+               ixgbe_mbox_api_11,
+               ixgbe_mbox_api_10,
+               ixgbe_mbox_api_unknown
+       };
        int err, idx = 0;
 
        spin_lock_bh(&adapter->mbx_lock);