e1000: rename struct e1000_buffer to e1000_tx_buffer
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / intel / e1000 / e1000_ethtool.c
index 5ebc2407595b88fb76d4c5e28dd0cf687a3c4e20..c7280d9c638ed858194fb677933ff96d17afeb20 100644 (file)
@@ -1006,7 +1006,7 @@ static int e1000_setup_desc_rings(struct e1000_adapter *adapter)
        if (!txdr->count)
                txdr->count = E1000_DEFAULT_TXD;
 
-       txdr->buffer_info = kcalloc(txdr->count, sizeof(struct e1000_buffer),
+       txdr->buffer_info = kcalloc(txdr->count, sizeof(struct e1000_tx_buffer),
                                    GFP_KERNEL);
        if (!txdr->buffer_info) {
                ret_val = 1;